Skip to content

Clean up the linux system

Asterios Raptis edited this page Aug 30, 2017 · 6 revisions

Removing partial packages

The autoremove command removes packages that are installed as dependencies with the original package. Type the following command:

sudo apt-get autoremove

Removing orphaned packages

You can remove orphaned packages with the command-line programm deborphan. If not installed you can install with following command:

sudo apt-get install deborphan

Now you can get rid of the orphaned packages with following command:

sudo deborphan | xargs sudo apt-get -y remove --purge
Clone this wiki locally