1

I want to install BIND9 with its source code on Linux (CentOS 6.3), we know by using yum install bind* we don't get the source code, we get only the binary files.

Can anybody explain to me how to install BIND with its whole source code especially the .c files by using source RPM?

Something like this:

$ yumdownloader --source module-init-tools
  • Why do you believe that you need the source code? – Ignacio Vazquez-Abrams Aug 23 '13 at 16:14
  • @IgnacioVazquez-Abramsm, because I need to change the source code so I want to change it in linux after insatlling it – Networker Aug 23 '13 at 16:15
  • So then why do you need to install BIND and the source code? – Ignacio Vazquez-Abrams Aug 23 '13 at 16:16
  • how then can I change the source code of BIND9 and make linux take it as it changed not the original code @IgnacioVazquez-Abrams – Networker Aug 23 '13 at 16:18
  • You would modify and then rebuild the SRPM. – Ignacio Vazquez-Abrams Aug 23 '13 at 16:18
1

How to rebuild SRPM from the CentOS documentation: http://wiki.centos.org/HowTos/RebuildSRPM

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.