On Wed, 3 Jun 2020 15:38:00 +0000
Andy Smith (andy(a)bitfolk.com) said:
I would try purge for the respective packages. Much less error-prone
than rm.
On a tangentially related note, I'm finding myself getting very fond of
Debian's "debfoster". It keeps a list of "wanted" packages and,
when
run, will prompt you about any packages that are currently installed,
but not on the "wanted" list or any dependency of packages on that list.
You can then choose to add them to the list or purge the installed
packages and, optionally, their dependencies.
Its "wanted" list lives in /var/lib/debfoster/keepers and is a text
file, so you can edit that freely.
Very reminiscent of the Gentoo "world" file and very helpful in keeping
your system pruned down to stuff you actually need.
It's not perfect, but pretty good.
Cheers,
Alun.