LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-06-2005, 03:52 PM   #1
tigemac
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
RPM and Source tarball software...best practice?


OS is: Red Hat Enterprise Linux ES release 4 (Nahant)

I am building a new Postfix mail server. There are many different packages that need to be built from source tarball some of which must support certain features. My issue is some older versions of the software I need still exist on the system in RPM format.

Here is an example:

I am installing a new version of BIND from source tarball. Here are the rpms that exist from the old version:

bind-utils-9.2.4-2
bind-9.2.4-2
bind-chroot-9.2.4-2
bind-devel-9.2.4-2
bind-libs-9.2.4-2

QUESTION: Would the best practice be to UNinstall all of the old RPM versions first (including every one of the above) and then install the new version of BIND from source? Or is there a better alternative?

NOTE: Some of these source installs will require compiling in certain features so I am not certain that just looking for other existing pre-built RPMs will be a viable alternative. I am not experienced in the building of RPMs. I have done a lot of source builds however and feel more comfortable with that.

What I want to avoid is having pathing conflicts down the road and/or old software on the system that someone else may mistake for the current version if that makes sense.

Please advise...

Thank you,

tigemac
 
Old 10-06-2005, 04:08 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Generally if you must personalise a package without slipping down the path of losing visbility via the rpm database is to use a source rpm rather than the original source itself. firstly this will use the identical code that the original precompiled RPMs are using, including redhat's own patches and such. you can then compile the code pretty much as normal but end up with a RPM to call your own, which you then instll as normal. Personally i suck at compiling source rpms, but that's normally the best route to take if you're generally happy living in RPMville.
 
  


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
Software install best practice gmartin Slackware 2 10-05-2004 02:57 PM
how to make rpm package from source tarball? demmylls Linux - General 2 03-10-2004 11:31 AM
libpangoxft in source tarball? e1000 Linux - Software 0 10-21-2003 12:15 AM
Installing software: RPM vs source tarballed Linux - Software 6 08-31-2003 02:58 PM
Source tarball Ztyx General 4 09-03-2002 04:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:46 AM.

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
Open Source Consulting | Domain Registration