When we are in need of space we have several options to earn a few MBs, here I will talk about some tips to recover space on our HDD.
Table of Contents
- 1 1. Deleting applications that we do not use.
- 2 2. Deleting files from our installer cache.
- 3 3. Removing languages from our system that we do not speak.
- 4 4. Deleting folders and settings from our Home.
- 5 5. Removing versions of the kernel that they no longer use.
- 6 6. Remove duplicate files from our system.
- 7 7. Using other applications to clean our system.
- 8 8. End
1. Deleting applications that we do not use.
It is no secret that Linux users install a lot of applications and then deprecate them. For example, those of us who need to test websites in different browsers to check the performance we like to have several browsers installed, in my case I have Konqueror, Chromium, Rekonq, Opera and Firefox. However, Konqueror, Rekonq and Qupzilla are almost identical, we can leave only one of these three and voila. We can also remove applications from our system if it has an online 'counterpart', for example I recently uninstalled PokerTH Well, I think I prefer to play online poker directly from the browser.
In short, it is always good to know what applications we have and more importantly, the applications we need.
2. Deleting files from our installer cache.
Those of us who use .DEB packages (Debian and derivatives) have in our / Var / cache / apt / archives / a lot of .deb files, generally this folder can consume several hundred MB and even several GBs, this depends on when was the last time we deleted these files.
In other RPM distros or others (ArchLinux, etc) they have their own folder for this type of files, which are generally also found under / var / cache /.
The advice is to delete the files located here from time to time.
3. Removing languages from our system that we do not speak.
Some time ago I told you about localepurge, a package that allows us to define the languages that we want to save from the applications (Ex: Spanish and English) and all the other languages of the installed applications (Czech, French, etc.) will eliminate them. The last time I ran this app it saved me almost 500MBs 😀
4. Deleting folders and settings from our Home.
In our Home there are several folders and settings that we can do without. For example:
- Folder .thumbnails it can weigh several tens of MBs, in my case .thumbnails it weighs more than 300MB. Here the thumbnails (previews) of multimedia files are saved, if you wish you can delete the content of this folder and thus save some MBs.
- The icon folder (.icons ó .kde / share / icons if they use KDE). The icon packages and cursors that are installed are stored here, I DO NOT recommend deleting the entire folder, but it is a good idea to delete the icon packages that you are not using. In my case .icons it weighs almost 1GB… O_O WTF!
- Folder .cache contains the cache of several applications, in my case I have in this folder: chromium (Chromium browser cache, weighs almost 300mb), Mozilla (contains Firefox cache, weighs almost 90MB), thunderbird (contains Thunderbird cache). You can delete folders from here if you want 😉
- Cache folders of your browsers. The browser I use the most is Opera, the Opera cache is saved in .opera / cache / (mine is over 400mb), if you do not have a problem with your bandwidth it is a good practice to clear your browser cache from time to time.
- They can delete other application settings folders that they no longer use, applications that they have already removed from the system, and their settings folders are still there taking up considerable space.
5. Removing versions of the kernel that they no longer use.
We talked about this a while ago. The idea is simple, we almost always access using the kernel with the highest version, the most recent one we have on the system ... so, what is the point of having another 3 and 4 kernels installed? To remove versions of the kernel that we do not need read: Eliminate previous versions of the kernel that we do not use
6. Remove duplicate files from our system.
In every system there are duplicate files, files that perhaps by themselves cannot occupy considerable space but added together they can be somewhat heavy. To search for duplicate files we will use the application duff, we already talked about it (installation and how to use it) in: Find and remove duplicate files on your system with duff
7. Using other applications to clean our system.
Already our friend Alf He also shared with us several tips in the post: Clean up our system
There he mentions some applications such as Debfoster, Deborphan and also, in the comments others are mentioned such as BleachBit. They are applications (some graphics) that can help you clean the system, some may facilitate the task due to their simplicity, in other cases I prefer to use the terminal 😉
In short, the statement that in Linux the system is not filled with 'garbage' is something completely wrong, every system can 'get dirty' but precisely for this is that these applications exist, for this is that we put these tips 😉
I hope you found this interesting.