LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to install bind from source files (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-bind-from-source-files-4175500204/)

pprabhul071 04-01-2014 01:14 PM

how to install bind from source files
 
i want to know how to install bind from a source file.
i can't use yum and rpm package managements......

joe_2000 04-01-2014 01:37 PM

have you tried to search the web for "compile bind from sources"

The first result I get is this:
http://linux-sxs.org/internet_serving/bind9.html

TB0ne 04-01-2014 02:55 PM

Quote:

Originally Posted by pprabhul071 (Post 5144839)
i want to know how to install bind from a source file.

Then why don't you download the source:
http://www.isc.org/downloads/

..and READ THE INSTRUCTIONS. There is a file called "INSTALL" in there. Interestingly enough, it has instructions on how to install the software.
Quote:

i can't use yum and rpm package managements......
Oh? And why not?

chrism01 04-02-2014 04:38 AM

Definitely the big qn is why not; it's by far the easiest/fastest/most reliable method.

vbarun2000 04-02-2014 04:49 AM

definitely you need to install gcc through yum install gcc

then only you can install any files from source file

for installing gcc from yum,you can create an repo and install it from web

Hopping your issue was solved

TB0ne 04-02-2014 11:45 AM

Quote:

Originally Posted by vbarun2000 (Post 5145186)
definitely you need to install gcc through yum install gcc

then only you can install any files from source file for installing gcc from yum,you can create an repo and install it from web
Hopping your issue was solved

The OP didn't ask about installing GCC, and specifically said they COULD NOT USE YUM...so you advised them to install GCC through yum???

John VV 04-02-2014 12:20 PM

if you can not use yum
-- there is a different thread on this, an "intern" can NOT use yum --

then it begs , "why use rhel/cent "

this becomes a "linux from scratch" situation

because that is EXACTLY what is going to happen .

pprabhul071 04-02-2014 02:26 PM

hi
please help me out.please tell how to create a service named at /etc/init.d/named

brebs 04-02-2014 04:35 PM

Quote:

Originally Posted by pprabhul071 (Post 5145483)
/etc/init.d/named

As an example, here's Fedora's initscript for named.

TB0ne 04-03-2014 09:23 AM

Quote:

Originally Posted by pprabhul071 (Post 5145483)
hi
please help me out.please tell how to create a service named at /etc/init.d/named

You have been asked at least three times as to WHY you cannot use yum to install this, but you haven't answered, or even acknowledged you were asked. If you're not going to answer questions, why post???

There are MANY easily-found service startup scripts..including the ones you already have on your system.

pprabhul071 04-07-2014 08:19 AM

sorry for not replying ....actually i am doing training in
company and they prefer installing using source code rather than yum....

pprabhul071 04-07-2014 08:24 AM

actually this time i really need some help....i need to install exim as mail server.. and the problem is that i could not find tar file of db4-devel and other dependencies to install...please help me out to install exim

TB0ne 04-07-2014 09:04 AM

Quote:

Originally Posted by pprabhul071 (Post 5148117)
sorry for not replying ....actually i am doing training in company and they prefer installing using source code rather than yum....

..which is STILL not a good answer, since most any company would want you to use yum, since it's faster, and installs the packages that have been tested/certified with your OS. I find it very hard to believe that a company would WANT you to create a system that doesn't update automatically, and is less stable. If you want to install source as a learning experience, then you should do some VERY obvious things, like read the instructions.
Quote:

Originally Posted by pprabhul071
actually this time i really need some help....i need to install exim as mail server.. and the problem is that i could not find tar file of db4-devel and other dependencies to install...please help me out to install exim

Go back an re-read the LQ Rules. Open a different thread for a different question.

And the answer here is the same as before: INSTALL PACKAGES THROUGH YUM. There are LOTS of dependencies, which is why package managers are used in the first place. And after you install DB4, (again, read the instructions for how to install/build it and the development libraries), you will probably have to install OTHER dependencies. Since you don't tell us what version/distro of Linux you're using, it's hard to give meaningful answers. There are source packages for pretty much every distro.

pprabhul071 04-07-2014 09:27 AM

may they think that install using source file will help to learn more about that software

TB0ne 04-07-2014 09:39 AM

Quote:

Originally Posted by pprabhul071 (Post 5148154)
may they think that install using source file will help to learn more about that software

No, it won't, unless you're actually CODING with that software, pulling through it, and trying to enhance it. Otherwise, it goes back to being pointless, unless you need some cutting-edge feature that's not enabled by default, or in the current package.

And if they did want you to learn about that software, shouldn't you have actually tried reading the instructions and documentation, so that you COULD learn, rather than asking others to feed you an answer?


All times are GMT -5. The time now is 06:40 PM.