Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use the package-cleanup command of linux to clean up locally installed RPM packages

Shulou Source: shulou.com Published: 2022-06-02 12:44:47 10月01日 Update

Editor to share with you to use the package-cleanup command of linux to clean up the locally installed RPM software package, I believe most people do not know much about it, so share this article for you to learn. I hope you will learn a lot after reading this article. Let's learn the method together.

Package-cleanup cleans up locally installed, duplicated, or orphaned RPM packages, a tool that is useful only for RPM and is not available for things like Ubuntu.

Syntax format: package-cleanup [parameters]

Common parameters:

Reference exampl

List packages that are not dependent on other RPM:

[root@linuxcool] # package-cleanup-leaveslibacl-devel-2.2.49-8.fc14.i686libcap-devel-2.17-1.fc13.i686libchamplain-gtk-0.6.1-4.fc14.i686.

Delete the old kernel file:

[root@linuxcool ~] # package-cleanup-oldkernels above is to use linux's package-cleanup command to clean up all the contents of the locally installed RPM package, thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Software software packages learning commands content parameters not much kernel most learning methods tools commonly used files articles methods more useful formats knowledge examples Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information MySQL Huawei Shulou Tech Info vpn