LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 10-08-2005, 02:50 AM   #1
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
Installation directory


If I download a tar/gzip/bzip file. What is the best locatiopn to extract it to and compile? Are the different areas depending on the install? If so what would be ideal for Mandriva, SUSE, FC and RH?
 
Old 10-08-2005, 03:17 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Its personal preference. Some people extract them to /usr/src. I have a directory in my /home called downloads where I put various source packages in subdirectories according to what kind of software it is. I build all the software from there and just use su to install it.
 
Old 10-08-2005, 03:47 AM   #3
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
redazz: when you do that, does the program then run from your home directory. Or can you delete the directory you extracted the files to?
 
Old 10-08-2005, 04:00 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
when you run "make install" the compiled programs install into your normal file system. the place you compile things from has no long term impact on the end product whatsoever.
 
Old 10-08-2005, 05:41 AM   #5
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
where would i do a make uninstall from?
 
Old 10-08-2005, 06:07 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
that source directory. the knowlege of what the "install", "uninstall" or any other make parameter is is dfefined in the Makefile in the vurrent directory.
 
Old 10-08-2005, 08:30 AM   #7
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
the source directory being the directory to which the program was installed? where is the place that programs will normally install to?
 
Old 10-08-2005, 09:43 AM   #8
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
The directory you installed the program from (i.e. where you made ./configure, make and make install) is where you need to make uninstall, so its important to keep the build directory if you think you make need to uninstall the program. If you have not kept the build directory then you can simply reinstall the package and then uninstall.
 
Old 10-09-2005, 04:24 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
the source directory being where the source is....
 
Old 10-10-2005, 08:09 AM   #10
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by reddazz
The directory you installed the program from (i.e. where you made ./configure, make and make install) is where you need to make uninstall, so its important to keep the build directory if you think you make need to uninstall the program. If you have not kept the build directory then you can simply reinstall the package and then uninstall.
That's what I did eventually. Just wondered if there were some residual files hanging about somewhere.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
ANT installation directory allelopath Linux - Software 3 09-17-2009 05:42 AM
default installation directory? behemot Linux - Software 7 08-15-2007 01:01 AM
Installation directory for packages imranamdam Slackware 5 11-10-2004 12:06 AM
Application Installation Directory tuka Linux - Newbie 1 09-01-2003 08:24 AM
mysql installation directory hrishikesh Linux - Software 4 07-07-2003 02:00 PM


All times are GMT -5. The time now is 06:26 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration