Linux Man Page Viewer
The following form allows you to view linux man pages.
package-cleanup [options] <item ...>
package-cleanup is a program for cleaning up the locally-installed
-c <config file>
Use alternative config file (default is /etc/yum.conf).
Help; display a help message and then quit.
Print out nothing unnecessary.
Report program version and exit.
-y Agree to anything asked.
List leaf nodes in the local RPM database. Leaf nodes are RPMs
that are not relied upon by any other RPM.
List installed packages which are not available from currenly
configured repositories. This is identical to "yum list extras",
which may provide better output.
Remove old kernel and kernel-devel packages.
List dependency problems in the local RPM database. If any prob-
lems are found it will exit with an exit code of 1.
Scan for duplicates in the local RPM database.
Scan for duplicates in the local RPM database and clean out the
--all When listing leaf nodes also list leaf nodes that are not
Do not remove kernel-devel packages when removing kernels
List all dependency problems:
List all packages that are not in any Yum repository:
Remove old kernels keeping 3 and leaving old kernel-devel packages
package-cleanup --oldkernels --count=3 --keepdevel
List all leaf packages with no files in a bin directory whose name
begins with either 'perl' or 'python':
package-cleanup --leaves --exclude-bin --leaf-
As package-cleanup uses YUM libraries for retrieving all the informa-
tion, it relies on YUM configuration for its default values like which
repositories to use. Consult YUM documentation for details:
See the Authors file included with this program.
There are of course no bugs, but should you find any, you should first
consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if
unsuccessful in finding a resolution contact the mailing list: yum-
email@example.com. To file a bug use http://bugzilla.redhat.com
for Fedora/RHEL/Centos related bugs and http://yum.baseurl.org/report
for all other bugs.