How to clean installed rpms using package-cleanup

How to clean installed rpms using package-cleanup

When you install applications there will be additional packages downloaded along with the application as dependencies to run the application,
eg. if you want to run a LibreOffice it need java to run. so the additional rpms will be downloaded.
How to clean installed rpms using package-cleanupIn addition to the main applications rpms or application packages this additional package will also be downloaded and stored.

Normally, you will not need this after the installations.

Even at the time of installation by anaconda or any other installed, it will leave many packages locally on your pc.

You can use the yum utility “”package-cleanup” clean up this.

package-cleanup is a perfect tool whcih can help us to find packages thats not required by other packages. as this is part of the yum-utils package we need to install yum-utils

You can install it by the below command.

To review and find un-wanted packages

Listed packages can be removed using the package-cleanup utility,
Before doing that, you should check whether we are using them directly or whether they are used by applications that’s not supported by rpm packages.

To review and find unwanted packages

You can use the above command to find if the packages are still with the repository support
which will also show the packages that’s uninstalled partially


About Bindhu Maniya

Software Engineer at TCS Chennai, Studied Software Engineering at RMK Engineering College, DAV School, Chennai Lives in Chennai, Tamil Nadu, Love to write blogs & helping technically to my friends who needs it. like you :)

View all posts by Bindhu Maniya →


This site uses Akismet to reduce spam. Learn how your comment data is processed.