LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Uninstalling ~! (https://www.linuxquestions.org/questions/linux-software-2/uninstalling-%7E-81104/)

supermax 08-11-2003 06:54 PM

Uninstalling ~!
 
Hi,
I just wanted ot know how to uninstall a program ( in my case winex ) ? I'm using mandrake 9.1

flump 08-11-2003 06:59 PM

if you compiled winex from source you could try
make uninstall
from the directory.

supermax 08-11-2003 07:05 PM

It was a RPM package, is there a RPM manager in mandrake, cose I know there is none in newer redhat.

supermax 08-11-2003 07:16 PM

look what I get when I try to uninstall with rpm:

[supermax@localhost download]$ rpm -e winex3.1.i586.rpm
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open /var/lib/rpm/packages.rpm
[supermax@localhost download]$

by the way packages.rpm dosent even exist

megaspaz 08-11-2003 07:36 PM

Quote:

Originally posted by supermax
look what I get when I try to uninstall with rpm:

[supermax@localhost download]$ rpm -e winex3.1.i586.rpm
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open /var/lib/rpm/packages.rpm
[supermax@localhost download]$

by the way packages.rpm dosent even exist

su into root and try it. plus the you don't use the rpm filename to uninstall, you use the package name. if you need the package name use:

rpm -q winex

and then run "rpm -e package_name" where you use the output of rpm -q as the package_name.

Allen614 08-11-2003 07:47 PM

What happened with the Configuration/Packaging/Remove Software in the menu. (KDE)?

Mathieu 08-11-2003 08:27 PM

The Mandrake RPM management software is called RpmDrake.

However, if you are talking about kpackage, many distribution no longer include it.

l0f33t 08-12-2003 02:46 AM

Megaspaz has your answer.

Your lucky you didn't compile that app from source.

When your uninstalling RPM's, 99% percent of the time there's going to be dependcies that have to go with it.

If your unsure of the full name of the package installed but some of it, you can login as root and cd to the / directory and issue "find / -name apach* (Apache-1.3.28 for example is the actual file) but I wasn't sure if it had 2 e's or 1. This will scour the whole file system finding every file that starts with apach.
Now you'll have the correct name and the path to get to the package.
Now you need to find all of its dependencies as well.

cd to the (in my example) Apache-1.3.28 directory and issue rpm -qil <file name) without the .rpm on the end that is :)


All times are GMT -5. The time now is 02:01 PM.