Results 1 to 5 of 5
How can i uninstall an RPM. How can i know where and wat install in my system. Thanks....
- 06-17-2003 #1Just Joined!
- Join Date
- Jun 2003
- Posts
- 35
uninstalling RPM
How can i uninstall an RPM. How can i know where and wat install in my system. Thanks.
- 06-17-2003 #2Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
To uninstall an RPM by package name, use "rpm -e packagename". To find out what package a certain file belongs to, use "rpm -qf /path/to/file". To list all files belonging to a package, use "rpm -ql packagename". To list all packages installed on the system, use "rpm -qa". The last is useful in conjunction with grep, eg. "rpm -qa | grep -i php" will list all packages with php in their names.
- 06-17-2003 #3Linux Engineer
- Join Date
- Nov 2002
- Location
- Queens, NY
- Posts
- 1,319
Yea, RPM did have that feature where you can see which package a software came from. I wonder if dpkg or apt has that feature. It's time for the man pages.
The best things in life are free.
- 06-17-2003 #4Linux User
- Join Date
- May 2003
- Location
- Hong Kong, China
- Posts
- 256
when you uninstall, make sure you noe the software dependencies issue.
Signature removed by moderator - please see forum rules
- 06-17-2003 #5Linux Engineer
- Join Date
- Apr 2003
- Location
- Sweden
- Posts
- 796
Use
to uninstall a rpm-package andCode:rpm -e
this is for guery the rpm-database.Code:rpm -qa | grep packagename
RegadsRegards
Andutt


Reply With Quote