Here’s how to use deborphan to remove orphaned packages and save disk space in Linux Mint / Ubuntu:
1. Issue the following command at the terminal –
sudo apt-get install deborphan
2. After the installation is complete, issue the following command at the terminal to find orphan packages in the system –
deborphan
3. To remove the orphan packages and free up disk space, issue the following command at the terminal –
sudo apt-get remove <orphan package name 1> <orphan package name 2> <orphan package name 3>…<orphan package name n>
Orphan package names will be names shown in the orphan package list from step 2.
Yup that works well too Jesse. Glad you found the tutorial useful.
Hey, very nice mini-tut here. Instead of manually typing each package though, you could issue the command:
apt-get remove `deborphan`
I personally prefer using aptitude and the purge command
aptitude purge `deborphan`
that would give ya the same results