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

 

Have any Question or Comment?

Comments

Subscribe to Our Blog via Email