If you are going to manage servers or desktops Ubuntu, you know, to function optimally, occasionally need to be cleaned. The task is not as difficult (especially if commands and tools are known), but for some it is just another brick in an already large wall. To this end, it is always better to know exactly what to do with the tools at hand.
I would like to offer a few tips, you can make your Ubuntu machine keep working well. That is, can we consult.
to install the best way
You may be surprised to hear that, but it is much better if the installation source is avoided. Unless it can be avoided, always use install apt package management. Why? Because with aware of what is appropriately installed, it is better to take care in the layer stacks. In addition, the software update can be installed font a nightmare, so you could avoid enough updated (and we know how wrong it is).
Therefore, unless the only option that the source is, install more apt install with sudo. Ultimately, if the software - need code to do - it installs in / local / usr (according to the Free Software Foundation - Policies).
With APT with a purpose
APT package manager has some options you should never miss enjoy. These options are:
To delete the local cache of downloaded packages, run the following command:
Sudo aptitude autoclean
To remove any / all packages that were installed automatically (satisfy package dependencies) that are no longer needed:
sudo apt autoremove
When a package is removed, to avoid leaving behind configuration files, you can use the Purge option instead of the delete option, as follows:
apt-get purge package
Where remove Package is the name of the software.
Purge option is very useful if you want to start again with a package installation (otherwise record the previous configuration options again to reinstall).
ucaresystem-core use
If you wish to install apt ucaresystem cores the best options in a single command. With this tool in place can with a single command assumes the following:
- Update the list of available packages
- Download and install updates
- uninstall testing and the old Linux kernel
- Sure recovered packages
- Uninstalling packages that are outdated
- Uninstall orphaned packages
- Remove the previously installed package configuration
To ucaresystem cores, open a terminal window and type the following commands to install:
Sudo apt-add-ppa repository: utappia / stable sudo apt-update apt-center installation ucaresystem
Once installed, run to start the command sudo ucaresystem core to the process.
Use the concierge Tool
There are a number of tools that are in the interview process. These tools do a great job cleaning multiple caches (APT, hit, Firefox, Google Chrome, Flash, LibreOffice, system, etc.). One of the most popular tools is bleachbit. This particular position of the tool, cleaning and maintenance in the standard - repositories, so installation is as simple as sudo apt install BleachBit. Once installed, run the tool with bleachbit command, select what you want to clean (Figure A), and then click the trash can - symbol.
Figure A
Be sure to use caution bleachbit. Until you know exactly what you do not use this tool to remove the system cover.
with caution
By using commands that can change your system, you should use them with caution. Enter the apt man command and specify the man page read apt, so you know exactly what is happening with every order. The side bleachbit to read bleachbit control men with men, you have a better understanding of what can do the tool.
Aucun commentaire:
Enregistrer un commentaire