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.
|
|
05-13-2006, 09:13 AM
|
#1
|
LQ Newbie
Registered: May 2003
Distribution: suse 9.0, Slack 9.1, Mandrake 10, etc...
Posts: 23
Rep:
|
how to uninstall non-packaged software
Hi again,
this thread is a reformulation of my last post ( http://www.linuxquestions.org/questi...d.php?t=444094)
To make this question simple:
- How do I uninstall non-packaged software?
after:
- make; make install
make clean should work. But where did it install it to? what to do when the software did not provide a make clean rule?
what does the installation process actually does? is this a simple copy to various folders? how can I completely remove something?
Thank you,
ricardo
|
|
|
05-13-2006, 09:41 AM
|
#2
|
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
|
1. make clean does not usually clean installed software
2. sometimes make uninstall or something does
3. installation process can include rather complicated things, for example renaming old files.
Try make_uninstall - program, monitoring file operations during make install and providing possibility to rollback.
|
|
|
05-13-2006, 09:52 AM
|
#3
|
LQ Newbie
Registered: May 2003
Distribution: suse 9.0, Slack 9.1, Mandrake 10, etc...
Posts: 23
Original Poster
Rep:
|
so make install is basically irreversible unless the software provides a rule to uninstall? by monitoring the instalations do u mean write down every file and folder where the software copied stuff to? and then just deleting those files and folders?
|
|
|
05-13-2006, 10:10 AM
|
#4
|
Senior Member
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690
Rep:
|
You should alwasy check if there is an uninstall target before installing from sources unless you are willing to delete the installed files by hand.
|
|
|
05-13-2006, 10:40 AM
|
#5
|
LQ Newbie
Registered: May 2003
Distribution: suse 9.0, Slack 9.1, Mandrake 10, etc...
Posts: 23
Original Poster
Rep:
|
thanks for the tip.
Just another thing. How hard would it be to write a script that would keep a track off every file that gets written/replaced and use that to create a list of files to use for an uninstall? maybe extract the TO properties from the make install file?
I could possibly do it in java since this is the only language I know. As I am trying to learn C++ I recon I could start here if someone is willing to develop this with me. Thanks
|
|
|
05-13-2006, 11:37 AM
|
#6
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
Rather than writing your own, I would suggest considering checkinstall. This program replaces the make install step and can create Slackware .tgz, Red Hat .rpm and Debian .deb packages that you can then install and uninstall with the normal distro package management system.
|
|
|
05-13-2006, 12:08 PM
|
#7
|
LQ Newbie
Registered: May 2003
Distribution: suse 9.0, Slack 9.1, Mandrake 10, etc...
Posts: 23
Original Poster
Rep:
|
thank you very much... ill give it a try.
|
|
|
All times are GMT -5. The time now is 10:36 AM.
|
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
|
|