I noticed while updating my system just how many packages I have installed that I don’t recognize.
I tend to think that minimalism is better for security, so I’d like to remove any packages that I’m not using, but this is a bit of a scary task.
Does anybody have a safe method for reviewing and purging unused or bloat packages while obviously making sure not to accidentally remove important dependencies?
I’m on arch btw.
For anyone reading this on a Debian-based system, you can get a good start without risking removing anything important like this:
apt-mark showmanual
, and copy any package names you don’t think you need into a list.apt-mark auto <pkg1> <pkg2> ...
apt autoremove
Sorry, just to clarify,
<pkg1>
etc. will be the ones deleted or not deleted?Those will be deleted as they were picked with the second command