-   Linux - Software (
-   -   How do i uninstall a program? (

BajaNick 07-09-2003 07:18 PM

How do i uninstall a program?
How do i uninstall a program under RH8, Kde, specifically WindowMaker. I installed windowmaker but its the wrong version and it dosnt work right so i would like to uninstall it and try it again, maybe with the newest version. Thanks

Tinkster 07-09-2003 07:43 PM

depends on how you installed it mate...


Mikx 07-09-2003 09:29 PM

some programs allow you to 'make uninstall'. you can keep track of where files are installed by doing a

'make install | grep install' > program.log

i thinnk that should work... :)

jailbait 07-09-2003 11:54 PM

Try rpm
According to your earlier posts you were having trouble installing
WindowMaker using rpm. So if you installed it with rpm then you should uninstall it with rpm.

Login as root or su to root.
Take a look at the rpm man pages:
man rpm
The rpm -e option is used to uninstall packages so you need to issue a command something like:
rpm -e windowmaker

BajaNick 07-10-2003 12:05 AM

Thanks whoever posted the keyboard shortcut to cut and paste.
this is what i got when i tried to uninstall the RPM

error: package WindowMaker is not installed
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm

Ok i think i figured out what happend, I installed an earlier version of WindowMaker and when i tried to install the RPM newer version it did not overwrite the older version. All i need to do now is uninstall the previous version but i dont know how. I tried make uninstall but it dosnt work, any more tips would be helpful. thanks

klios 07-10-2003 07:33 AM

Looks like an RPM database problem. Try to rebuld it.

#rpm -rebuilddb

All times are GMT -5. The time now is 01:16 AM.