You can start with dpigs
. Then start marking packages automatically installed with apt-mark
. aptitude
may be a good frontend when removing a lot of packages, you can mark entire categories, like libraries, as automatically installed.
Pay attention to the package headers when removing packages. You don't want to remove essential packages.
who has