package-cleanup(1) on Linux
The text 182c3be3d5c2, as Debian 12 (Bookworm) shipped it.
clean up locally installed, duplicate, or orphaned packages. A DNF-based shim imitating the original YUM-based package-cleanup utility.
Flags it lists
-
--cleandupes -
--dupes -
--leaves -
--orphans -
--problems