Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 11-17-2001, 10:22 AM   #1
LQ Newbie
Registered: Jun 2001
Location: Bombay, India
Distribution: Redhat 7.0
Posts: 16

Rep: Reputation: 0
Question Compiling/Installing Tarballs on Redhat


1. I prefer to download tarballs and compile them rather than binary/source RPMs. Is this this a very bad thing?

2. While doing this, I notice that Redhat seems to put everything in /usr rather than /usr/local

Everyone seems to expect stuff to be in /usr/local

Is there a good reason why Redhat differs? Should I attempt to fix this? Should I install new stuff to /usr/local instead?

3. Since installing Redhat 7, I have
a. Upgraded the kernel to 2.4.14
b. Upgraded lots of software
c. Installed loads of new software
d. Upgraded libraries as needed by (c)

Now the problem is RPM is all clueless about which versions of software I really have installed.

What would be a good plan of action from this point on?
Old 11-17-2001, 11:06 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
installing from tarballs is BETTER than using rpms, as you compile the source on your own machine, and it therefore should run better. Most redhat RPM's are compiled for i386, and as such ignore much of the new feaures in i686 architecture. it's not that much differencem but it is a difference none the less.

RPM's only really exist to make the whole thing a load more easier.

2) you can choose where to install programs to by setting an option at ./configure --install-path or something like that, it's nothign to do with the distro where it geos, that's down o the install code in the tarball.

3) well.. don't use RPM's... you can check the dependencies and if you're confident they are satisfied with your system then you can always force the installation and hope it works
Old 11-17-2001, 11:19 AM   #3
LQ Newbie
Registered: Jun 2001
Location: Bombay, India
Distribution: Redhat 7.0
Posts: 16

Original Poster
Rep: Reputation: 0
Hmm.. yeah... I know the advangages of compiling the sources. Despite what my last post may indicate, I'm not a clueless newbie... I'm a clueful newbie.

I know I can change the install path with --prefix=/usr

But *every* source I've seen so far assumes that stuff is installed in /usr/local. Why does Redhat install it in /usr then?

The place I started getting really confused was when I decided it was time to compile GCC 3.0... There is configure option --with-local-prefix which is supposed to point to the header files... which defaults to /usr/local
The readme *specifically* advises against setting this to /usr. But if I don't I can't compile GCC.

I know I could work around this by dumping the header files somewhere else... but that seems like a rather crude solution.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
installing Gentoo. need help with tarballs PLLeeaassee! randell6564 Linux - Software 3 11-24-2005 04:47 PM
Need help installing tarballs nationofcass Linux - Software 2 02-15-2005 11:13 PM
Installing software from tarballs NomadABC Linux - Software 4 02-01-2005 03:11 PM
Tarballs installing questions Focalpoint Linux - Newbie 7 07-06-2004 08:51 PM
Compiling from source tarballs (ex.: WINE) lhoff Linux - Software 4 04-09-2002 01:54 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:11 PM.

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