Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-19-2004, 04:20 PM   #1
Registered: Apr 2004
Location: DUBois, PA
Distribution: Mepis 3.3.1-1
Posts: 31

Rep: Reputation: 15
Where to install from Source

I want to install gift fastrack. I want to know where to install it (what directory)? A better question might be... Where should I install any source files that I download? After installed, can I delete the tar.gz file?
Old 05-19-2004, 04:35 PM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
After a source tarball is extracted, there will be a README file with instructions on installation. Usually the process is simple.
1) ./configure
2) make
3) su ( you need to be root for the next step)
4) make install

The ./configure step will examine your system in order to write the 'Makefile'
The 'make' step will compile the source files.
The 'make install' step is where the files are copied where they need to be. Usually in /usr/bin or /usr/local/bin for program files. Documentation and manpage files may also be copied.

After the program is installed, you can delete the source file, but you might want to back it up just in case you need to reinstall for some reason or another.
Old 05-19-2004, 09:06 PM   #3
LQ Newbie
Registered: May 2004
Location: Norway
Distribution: RedHat 9
Posts: 9

Rep: Reputation: 0
To easier keep track of programs you install from source there is a program called epkg. I never install any source without it anymore.

Difference against a normal installation is that when you do configure you add the encap directory eith --prefix=/path/to/encap/directory

and after 'make install' you type epkg -i package_name

This procedure makes it easy to have several versions of the same package, and easier removal of programs installed from source.

Just a tip.



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
Install from Source? Kodaxx Linux - Newbie 3 08-23-2005 04:54 PM
best way to install from source Vindane Slackware 12 03-29-2005 10:20 AM
Upgrading OpenSSL rpm install to a source install userini Linux - Software 3 06-05-2004 11:23 AM
How to install from source? Tyir Linux - Newbie 7 10-07-2003 09:15 PM
Mozilla Firebird: binary install or source install? hecresper Slackware 8 08-22-2003 01:46 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration