-
Notifications
You must be signed in to change notification settings - Fork 3
Clean up the linux system
Asterios Raptis edited this page Nov 30, 2018
·
6 revisions
Note: only for advanced users.
This repository contains an alias script for cleaning up your linux systen. You can see the content of this script here. This script clean up all needed system temporary files that are not needed and also cleans up the boot section from obsolet kernels.
The autoremove command removes packages that are installed as dependencies with the original package. To remove this packages type the following command:
sudo apt-get autoremove
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
A detailed blog for this topic you can find on following links: