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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-12-2009, 04:42 AM
|
#1
|
Senior Member
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130
Rep:
|
the source program after compiled
I have download a apache file apache_1.3.41.tar.gz , and copy it to /tmp , then compile it ( configure , make , make install ) , I have complete successfully to compile it , then it will automatically copy the apache program to /usr/sbin and/or some other directories , I use it well .
I would like to ask can I remove the directory /tmp/apache_1.3.41now , is this directory still useful ? thx
|
|
|
02-12-2009, 04:59 AM
|
#2
|
Member
Registered: Sep 2007
Location: Berlin
Distribution: Slackware
Posts: 510
Rep:
|
In principle, you can delete it.
I keep my sources for a while, just in case - I've got a directory for sources only in my home dir which I clean up from time to time.
|
|
|
02-12-2009, 05:34 AM
|
#3
|
Senior Member
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,638
Rep: 
|
If you are running out of disk space delete it. Or keep it. Either way, it would not affect your work.
|
|
|
02-12-2009, 07:20 AM
|
#4
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep: 
|
In any event, if you leave it in /tmp it will be gone the next time you reboot.
cheers,
jdk
|
|
|
02-12-2009, 02:28 PM
|
#5
|
Senior Member
Registered: Jan 2006
Posts: 4,363
Rep: 
|
You may want to consider adding an extra step. When you use make install to install something to the system the only easy way to remove it is by the uninstall script (if the dev built one) in the source. So if you delete the source, you delete the uninstall script. If you go ahead and build the rpm(assuming rpm based distro) and install via the package manager, removal is then a trivial task. With common apps (like apache) you can grab the spec file from the source rpm, change whatever options in the spec file to reflect your needs(same as compile options), and rebuild the rpm. For less common apps(no src rpm available) it can be a little more work.
|
|
|
02-12-2009, 02:28 PM
|
#6
|
Senior Member
Registered: Jan 2006
Posts: 4,363
Rep: 
|
You may want to consider adding an extra step. When you use make install to install something to the system the only easy way to remove it is by the uninstall script (if the dev built one) in the source. So if you delete the source, you delete the uninstall script. If you go ahead and build the rpm(assuming rpm based distro) and install via the package manager, removal is then a trivial task. With common apps (like apache) you can grab the spec file from the source rpm, change whatever options in the spec file to reflect your needs(same as compile options), and rebuild the rpm. For less common apps(no src rpm available) it can be a little more work.
|
|
|
02-12-2009, 03:20 PM
|
#7
|
Member
Registered: Jan 2009
Location: Palermo, Italy
Distribution: Slackware
Posts: 236
Rep:
|
Quote:
Originally Posted by jdkaye
In any event, if you leave it in /tmp it will be gone the next time you reboot.
cheers,
jdk
|
Really? I knew that inside of /tmp there are caches and te mporary files, and just caches and temporary files will be gone once reboot PC, sincerely I do not know how it works, but I'm sure that in my slack it doesn't exist, I've got old files saved there, and the terminal doesn't give any error about it.  Let me know, bye.
|
|
|
All times are GMT -5. The time now is 04:45 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|