| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. |
| 2 |
.TH RPMDEV-RMDEVELRPMS "8" "January 2026" "rpmdev-rmdevelrpms version 1.15" "System Administration Utilities" |
| 3 |
.SH NAME |
| 4 |
rpmdev-rmdevelrpms \- manual page for rpmdev-rmdevelrpms version 1.15 |
| 5 |
.SH SYNOPSIS |
| 6 |
.B rpmdev-rmdevelrpms |
| 7 |
[\fI\,options\/\fR] |
| 8 |
.SH DESCRIPTION |
| 9 |
rpmdev\-rmdevelrpms is a script for finding and optionally removing |
| 10 |
"development" packages, for example for cleanup purposes before starting to |
| 11 |
build a new package. |
| 12 |
.PP |
| 13 |
By default, the following packages are treated as development ones and are |
| 14 |
thus candidates for removal: any package whose name matches "\-devel\eb", |
| 15 |
"\-debuginfo\eb", "\-sdk\eb", or "\-static\eb" (case insensitively) except gcc |
| 16 |
requirements; any package whose name starts with "perl\-(Devel|ExtUtils|Test)\-"; |
| 17 |
any package whose name starts with "compat\-gcc"; packages in the internal list |
| 18 |
of known development oriented packages (see def_devpkgs in the source code); |
| 19 |
packages determined to be development ones based on some basic heuristic |
| 20 |
checks on the package's contents. |
| 21 |
.PP |
| 22 |
The default set of packages above is not intended to not reduce a system into |
| 23 |
a minimal clean build root, but to keep it usable for general purposes while |
| 24 |
getting rid of a reasonably large set of development packages. The package |
| 25 |
set operated on can be configured to meet various scenarios. |
| 26 |
.PP |
| 27 |
To include additional packages in the list of ones treated as development |
| 28 |
packages, use the "devpkgs" option in the configuration file. To exclude |
| 29 |
packages from the list use "nondevpkgs" in it. Exclusion overrides inclusion. |
| 30 |
.PP |
| 31 |
The system wide configuration file is \fI\,/etc/rpmdevtools/rmdevelrpms.conf\/\fP, |
| 32 |
and per user settings (which override system ones) can be specified in |
| 33 |
~/.config/rpmdevtools/rmdevelrpms.conf or ~/.rmdevelrpmsrc (deprecated). |
| 34 |
These files are written in Python. |
| 35 |
.SH OPTIONS |
| 36 |
.TP |
| 37 |
\fB\-h\fR, \fB\-\-help\fR |
| 38 |
show this help message and exit |
| 39 |
.TP |
| 40 |
\fB\-l\fR, \fB\-\-list\-only\fR |
| 41 |
Output condensed list of packages, do not remove. |
| 42 |
.TP |
| 43 |
\fB\-\-qf\fR=\fI\,QF\/\fR, \fB\-\-queryformat\fR=\fI\,QF\/\fR |
| 44 |
Query format to use for output. |
| 45 |
.TP |
| 46 |
\fB\-y\fR, \fB\-\-yes\fR |
| 47 |
Root only: remove without prompting; ignored with \fB\-l\fR. |
| 48 |
.TP |
| 49 |
\fB\-v\fR, \fB\-\-version\fR |
| 50 |
Print program version and exit. |
| 51 |
.SH "REPORTING BUGS" |
| 52 |
Report bugs to <http://bugzilla.redhat.com/>. |
| 53 |
.SH COPYRIGHT |
| 54 |
Copyright \(co 2004\-2014 Ville Skyttä <[email protected]> |
| 55 |
This program is free software; you can redistribute it and/or modify |
| 56 |
it under the terms of the GNU General Public License as published by |
| 57 |
the Free Software Foundation; either version 2 of the License, or |
| 58 |
(at your option) any later version. |