In Root we already show you several things about Ubuntu modificationsFirst, we will show you what things you should do after the installation, if your PC heats up, we will also tell you how to fix it and the problem of brightness is often discussed. Today we are going to explain how to clean and optimize your Ubuntu system, even if it is already a fairly optimized distribution.
Partial and unused packages
We will start deleting partial packages, we will have to resort to the terminal, using the command:
sudo apt-get autoclean
Now let's clean, This command is responsible for deleting all the .deb packages that the command apt keep in cache when you install or update programs:
sudo apt-get clean
You can then use the command autoremove, what remove both packages and dependencies that the system no longer needs and can be eliminated without problems:
sudo apt-get autoremove
Delete unnecessary local data
To perform these tasks we have to install localepurge. Automatically handle delete local data that is not useful. We will install it with the following command:
sudo apt-get install localepurge
Once install The program is responsible for deleting the translation files and pages of manuals in languages that you do not need. The script will be executed every time we install any package eliminating what we don't need.
In Root, we already tell you how to optimize and clean your Linux system with Bleachbit, in the case that we are dealing with, Ubuntu is perfectly usable. It is quite effective software that leaves your system fairly optimized and clean.
Remove orphaned packages
To remove orphaned packages we need to install deborphan, we will do it with the following command:
sudo apt-get install deborphan
Once installed We will use it as follows:
sudo deborphan | xargs sudo apt-get -y remove --purge
In this way We will remove all orphaned packages from our system.
Carrying out all these tips, after a couple of reboots, We will have our system with Ubuntu working as the first day. Following these tips is highly recommended if you are such users who try many packages and software, your system will be clean of unusable packages and files. If you have any question, do not forget to leave your comment.
. (tagsToTranslate) Bleachbit (t) Deborphan (t) Localepurge (t) Optimization (t) Ubuntu