RPMDEV-RMDEVELRPMS(8)

πŸ“¦
version 9.6 Β· 5 versions
, in centos-stream 10

πŸ’… rpmdev-rmdevelrpms β€” the manual page, bestie edition

okay so this page is from the System Administration Utilities corner of the universe, and the tool itself is rpmdev-rmdevelrpms, version 1.15. yes she's got a version number and yes she's iconic for it. πŸŽ€


✨ NAME ✨

rpmdev-rmdevelrpms β€” the manual page for rpmdev-rmdevelrpms version 1.15. that's literally her whole government name, no cap.


🌸 SYNOPSIS 🌸

rpmdev-rmdevelrpms [options]

short, sweet, and to the point. she takes options and that's it. πŸ¦‹


πŸ’– DESCRIPTION πŸ’–

so rpmdev-rmdevelrpms is a script that goes looking for "development" packages β€” and, if you want, removes them. like, think cleanup era: you're about to build a new package and you want your system to stop being cluttered with dev stuff. it's giving spring cleaning but for RPMs. ✨

by default, these are the packages that get treated as development packages, aka the candidates for removal:

  • any package whose name matches -devel\b, -debuginfo\b, -sdk\b, or -static\b (matched 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 (peep def_devpkgs in the source code, iykyk)
  • packages that get flagged as development ones based on some basic heuristic checks on what's inside the package
real talk: that default set is not meant to reduce your system down into a minimal clean build root. she's not trying to strip you to the bone. the goal is to keep things usable for general purposes while yeeting a reasonably large set of dev packages. so like, chill. πŸ’…

and the package set she operates on can be configured to fit whatever scenario you're in. customizable queen.

to add more packages to the ones treated as development packages, use the devpkgs option in the configuration file. to exclude packages from the list, use nondevpkgs in it. and important: exclusion overrides inclusion. the veto wins, periodt. πŸ‘‘

the system-wide config file is /etc/rpmdevtools/rmdevelrpms.conf, and per-user settings β€” which override the system ones, obviously, main character energy β€” can go in ~/.config/rpmdevtools/rmdevelrpms.conf or ~/.rmdevelrpmsrc (deprecated πŸ₯€). heads up: these files are written in Python.


πŸŽ€ OPTIONS πŸŽ€

  • -h, --help β€” show this help message and exit. the "wait what does this do again" button. 🫢
  • -l, --list-only β€” output a condensed list of packages and do not remove anything. window shopping only, no receipts. πŸ›οΈ
  • --qf=QF, --queryformat=QF β€” the query format to use for output. set the vibe of your output bestie. ✨
  • -y, --yes β€” root only: remove without prompting. ignored when you're using -l. so bold, so fearless. πŸ”₯
  • -v, --version β€” print program version and exit. a little "who am i" moment. πŸ‘‘

πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? report it to <http://bugzilla.redhat.com/>. don't suffer in silence, bestie. 😭


Copyright Β© 2004-2014 Ville SkyttΓ€ <ville.skytta@iki.fi>

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. πŸ’œ


alright bestie, that's the whole page 🫢 this was rpmdev-rmdevelrpms version 1.15, dated October 2024, and she ate. no crumbs. πŸ’…πŸŒΈ

πŸ“¦ where this page comes from