LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-01-2014, 01:14 PM   #1
pprabhul071
LQ Newbie
 
Registered: Apr 2014
Posts: 13

Rep: Reputation: Disabled
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......
 
Old 04-01-2014, 01:37 PM   #2
joe_2000
Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 823

Rep: Reputation: 237Reputation: 237Reputation: 237
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
 
Old 04-01-2014, 02:55 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,886

Rep: Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258
Quote:
Originally Posted by pprabhul071 View Post
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?
 
1 members found this post helpful.
Old 04-02-2014, 04:38 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,362

Rep: Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377
Definitely the big qn is why not; it's by far the easiest/fastest/most reliable method.
 
Old 04-02-2014, 04:49 AM   #5
vbarun2000
LQ Newbie
 
Registered: Apr 2014
Posts: 8

Rep: Reputation: Disabled
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
 
Old 04-02-2014, 11:45 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,886

Rep: Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258
Quote:
Originally Posted by vbarun2000 View Post
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???
 
1 members found this post helpful.
Old 04-02-2014, 12:20 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,093

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
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 .
 
Old 04-02-2014, 02:26 PM   #8
pprabhul071
LQ Newbie
 
Registered: Apr 2014
Posts: 13

Original Poster
Rep: Reputation: Disabled
hi
please help me out.please tell how to create a service named at /etc/init.d/named
 
Old 04-02-2014, 04:35 PM   #9
brebs
Member
 
Registered: May 2013
Posts: 77

Rep: Reputation: Disabled
Quote:
Originally Posted by pprabhul071 View Post
/etc/init.d/named
As an example, here's Fedora's initscript for named.
 
Old 04-03-2014, 09:23 AM   #10
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,886

Rep: Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258
Quote:
Originally Posted by pprabhul071 View Post
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.
 
2 members found this post helpful.
Old 04-07-2014, 08:19 AM   #11
pprabhul071
LQ Newbie
 
Registered: Apr 2014
Posts: 13

Original Poster
Rep: Reputation: Disabled
sorry for not replying ....actually i am doing training in
company and they prefer installing using source code rather than yum....
 
Old 04-07-2014, 08:24 AM   #12
pprabhul071
LQ Newbie
 
Registered: Apr 2014
Posts: 13

Original Poster
Rep: Reputation: Disabled
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
 
Old 04-07-2014, 09:04 AM   #13
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,886

Rep: Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258
Quote:
Originally Posted by pprabhul071 View Post
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.
 
1 members found this post helpful.
Old 04-07-2014, 09:27 AM   #14
pprabhul071
LQ Newbie
 
Registered: Apr 2014
Posts: 13

Original Poster
Rep: Reputation: Disabled
may they think that install using source file will help to learn more about that software
 
Old 04-07-2014, 09:39 AM   #15
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,886

Rep: Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258
Quote:
Originally Posted by pprabhul071 View Post
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?
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install source files in linux....? shivarajM Linux - Software 11 05-11-2009 01:48 PM
Bind problem: config files are missing after re-install bind 9.5 on Fedora Core 8 elvisious Linux - Software 1 07-15-2008 07:49 PM
How To Install BIND From Source Giena Linux - Server 1 07-16-2007 08:23 PM
Install software from source files? UltraSoul Solaris / OpenSolaris 1 04-17-2005 12:04 PM
Where in source files does it tell where it will install? ginda Linux - Newbie 3 01-31-2005 09:00 PM


All times are GMT -5. The time now is 10:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration