LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how can i uninstall stuff (http://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-uninstall-stuff-259859/)

vito_huang 11-27-2004 11:13 AM

how can i uninstall stuff
 
i have used the usual way to install wine which is ./configure & make &make install , and now i can't get it working and leave a lots of libs and .os in my computer,weast my space, i want to delete it. can anybody tell me how????? thank you very much.

btmiller 11-27-2004 11:18 AM

If you're lucky, make uninstall will do it. If not, you'll just need to hunt down all the stuff it installed and delete it. If you use checkinstall, it will build a RPM (or DEB or TGZ, depending on your distro) which you can then install/uninstall. Another alternative is to use configure --prefix=/usr/local/whatever, so everything is put in /usr/local/whatever. Then you can symlink binaries and necessary libraries into the appropriate directory.

Boby 11-27-2004 11:20 AM

Hi!

If didn't deleted your folder from wich you installed [./configure,make,make install] just use "make uninstall" from there.
If you deleted it, and you remember the exact compilation parameters, you can recompile the program with the same parameters and use after this "make uninstall".

Boby

vito_huang 11-27-2004 11:25 AM

what does checkinstall exactly do??? sorry i never use this commander before.
by the way if i reinstall the program does it recover all the stuff already exsist or make the new on(leave the old one there).

btmiller 11-27-2004 11:34 AM

Checkinstall builds a package you can install with your distro's package manager. This allows you to easily uninstall the package if you decide you no longer want it, andf integrates it better with the software provided by your distro.

If you reinstall the program, it should overwrite everything already there, assuming you're reinstalling it to the same place with the same options.

vito_huang 11-27-2004 12:13 PM

i am using redhat 9.0. do you know what the distro's package manager is and how can i unistall programs with it.


All times are GMT -5. The time now is 12:32 PM.