Linux - SoftwareThis 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.
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.
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
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.
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.
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 temporary 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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.