Command line tool for removing orphaned packages?
deborphan
- Man page
- The command
deborphan
itself will display a list -
If you wish to see all the packages which aren't required you can run:
deborphan --guess-all
You do not need root privileges to use this tool, it reads the installed package lists and it won't remove any packages itself, merely tell you what it thinks you should remove
Installation
sudo apt-get install deborphan
Just for the those users that do not use command line: Ubuntu tweak tool is a graphical front end that also installs deborphan.