From the command line CTRL+ALT+T, what does the following buy you?
sudo apt-get install deborphan debfoster
sudo apt-get remove --purge firefox
sudo apt-get clean
The later will clean the /var directory.
sudo debfoster
The above command will show files and libraries still left after the apt-get remove --purge
. If you don't recognize a library, keep it. Later on, deborphan
will give you a list of 'orphaned' libraries that are hanging with no use, and are safe to nuke.
If you make a mistake with debfoster, type 'u' and will ask you again if you want to keep it. When you are thru with it, invoke deborphan.
sudo deborphan
The above command will give a list of libraries that are hanging just taking space. To get rid of them, use the following command:
sudo deborphan | xargs apt-get -y remove purge
sudo apt-get clean