1RPMDEV-RMDEVELRPMS(8) System Administration Utilities RPMDEV-RMDEVELRPMS(8)
2
3
4
6 rpmdev-rmdevelrpms - manual page for rpmdev-rmdevelrpms version 1.15
7
9 rpmdev-rmdevelrpms [options]
10
12 rpmdev-rmdevelrpms is a script for finding and optionally removing "de‐
13 velopment" packages, for example for cleanup purposes before starting
14 to build a new package.
15
16 By default, the following packages are treated as development ones and
17 are thus candidates for removal: any package whose name matches "-de‐
18 vel\b", "-debuginfo\b", "-sdk\b", or "-static\b" (case insensitively)
19 except gcc requirements; any package whose name starts with "perl-(De‐
20 vel|ExtUtils|Test)-"; any package whose name starts with "compat-gcc";
21 packages in the internal list of known development oriented packages
22 (see def_devpkgs in the source code); packages determined to be devel‐
23 opment ones based on some basic heuristic checks on the package's con‐
24 tents.
25
26 The default set of packages above is not intended to not reduce a sys‐
27 tem into a minimal clean build root, but to keep it usable for general
28 purposes while getting rid of a reasonably large set of development
29 packages. The package set operated on can be configured to meet vari‐
30 ous scenarios.
31
32 To include additional packages in the list of ones treated as develop‐
33 ment packages, use the "devpkgs" option in the configuration file. To
34 exclude packages from the list use "nondevpkgs" in it. Exclusion over‐
35 rides inclusion.
36
37 The system wide configuration file is /etc/rpmdevtools/rmdevel‐
38 rpms.conf, and per user settings (which override system ones) can be
39 specified in ~/.config/rpmdevtools/rmdevelrpms.conf or ~/.rmdevelrpmsrc
40 (deprecated). These files are written in Python.
41
43 -h, --help
44 show this help message and exit
45
46 -l, --list-only
47 Output condensed list of packages, do not remove.
48
49 --qf=QF, --queryformat=QF
50 Query format to use for output.
51
52 -y, --yes
53 Root only: remove without prompting; ignored with -l.
54
55 -v, --version
56 Print program version and exit.
57
59 Report bugs to <http://bugzilla.redhat.com/>.
60
62 Copyright © 2004-2014 Ville Skyttä <ville.skytta@iki.fi> This program
63 is free software; you can redistribute it and/or modify it under the
64 terms of the GNU General Public License as published by the Free Soft‐
65 ware Foundation; either version 2 of the License, or (at your option)
66 any later version.
67
68
69
70rpmdev-rmdevelrpms version 1.15 July 2022 RPMDEV-RMDEVELRPMS(8)