2

I have bloated my system with unnecessary packages and want to "start from zero". Rather than reinstalling I would prefer to do it from the OS and do it live.

How do I remove all packages not in base install?

Some relevant things that didn't quite pan out https://ask.fedoraproject.org/en/question/8646/erase-all-packages-except-a-given-list-of-packagesgroups/ https://wiki.archlinux.org/index.php/Pacman_tips#Removing_everything_but_base_group

Edit: to clarify using dnf

Jackdaw
  • 1,834

1 Answers1

2

If you still have the original /root/install.log you can follow this answer to compare the originally-installed and subsequently-installed packages. If not, you will need to pull a list of base packages off your install-media and perform a similar comparison.

javabrett
  • 484