Langue: en

Version: October 2007 (fedora - 25/11/07)

Section: 8 (Commandes administrateur)


rpmdev-rmdevelrpms - manual page for rpmdev-rmdevelrpms version 1.8


rpmdev-rmdevelrpms [OPTION]...


rpmdev-rmdevelrpms is a script for finding and optionally removing "development" packages, for example for cleanup purposes before starting to build a new package.

By default, the following packages are treated as development ones and are thus candidates for removal: any package whose name matches "-devel\b", "-debuginfo\b", "-sdk\b", or "-static\b" (case insensitively) except gcc requirements; any package whose name starts with "perl-(Devel|ExtUtils|Test)-"; any package whose name starts with "compat-gcc"; packages in the internal list of known development oriented packages (see def_devpkgs in the source code); packages determined to be development ones based on some basic heuristic checks on the package's contents.

The default set of packages above is not intended to not reduce a system into a minimal clean build root, but to keep it usable for general purposes while getting rid of a reasonably large set of development packages. The package set operated on can be configured to meet various scenarios.

To include additional packages in the list of ones treated as development packages, use the "devpkgs" option in the configuration file. To exclude packages from the list use "nondevpkgs" in it. Exclusion overrides inclusion.

The system wide configuration file is /etc/rpmdevtools/rmdevelrpms.conf, and per user settings (which override system ones) can be specified in ~/.rmdevelrpmsrc. These files are written in Python.


-y, --yes
Remove without prompting (no-op if not root).
-l, --list-only
Output condensed list of found packages, do not remove.
-v, --version
Print program version and exit.
-h, --help
Print help message and exit.


Written by Ville Skyttä.


Report bugs to <http://bugzilla.redhat.com/>. Copyright © 2004-2007 Fedora Project <http://fedoraproject.org/>. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.