SGMLXML.net A place for SGML and XML application developers.

August 4, 2005

Removing RPMs from Linux

Filed under: Linux — cangione @ 2:28 am







One task that is often needed is the ability to remove rpms that are currently installed.

The following example demonstrates how to remove installed rpms.

Lets say we need to find the apache package. First you need to find the specific version.

[root@localhost]# rpm -qa apache | grep apache
apache-1.3.19-5
[root@localhost]#

So, we need to remove the apache-1.3.19-5 package.

[root@localhost]# rpm -w apache-1.3.19-5

All gone assuming there were no dependency problems.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

You must be logged in to post a comment.

Powered by WordPress