Linux Maintenance Tips

In my experience, Linux is relatively maintenance-free, especially compared to Windows and even Mac OS X. There are some things, though that can be done to keep file systems and caches clean; you can click here to learn more [1]. Most of my experience is with Ubuntu– and Debian-based Linux distros, and the following have worked well for me:

In the command terminal, (in Ubuntu or an Ubuntu-based distro) type (without the quotation marks, as seen in the screenshot below) “sudo apt-get autoremove” and hit the Enter key. Then enter in your sudo password. Then type “sudo apt-get autoclean” (without the quotation marks). These two utilities will clean up any unnecessary files/packages from programs that have been uninstalled or updated. Both of these commands, plus many more can be automated through BleachBit.

A screenshot of the command terminal in Lubuntu:

Apt Terminal screenshot

In the Synaptic Package Manager, check to see if there are any broken links between packages. You can do this by clicking on the “Edit” menu and then on “Fix Broken Packages” as seen in the screenshot below.

A screenshot of the Synaptic Package Manager in Debian:

Synaptic Package Manager screenshot


1.    ^ “The Five Best Linux File System Cleaning Tools.”

Number of Visitors – Powered by

customisable counter