What are the ways to clean up Linux disk space?

  
                

Linux system clean disk space can be as easy as windows, then how to clean up Linux disk space? The following small series introduces you to four ways to clean up Linux disk space, hoping to help you.

Linux system's hard disk is not the same as lightweight it can achieve. For example, after you install the software, the APT package manager will save the package files, which will be a waste of space unless you plan to uninstall or reinstall them.

We have already introduced cleaning up disk space on Windows and disk space on Mac. A lot of tricks are similar to —— delete temporary files, analyze hard drive usage, and see which application is taking up the most space.

Deleting Temporary Files

BleachBit is almost a CCleaner on Linux. It scans out temporary files that are not useful on your computer and automatically deletes them to clean up the space. It can find caches, browsing history and temporary files on your computer. You can install BleachBit through the Ubuntu Software Center.

Remember, if you don't open it with root privileges, this tool can't delete APT packages and other system-level stuff. You can run it as root by running sudo bleachbit on the terminal. (We have previously recommended the gksu command, which has been removed on Ubuntu.) Related reading: The difference between ubuntu sudo and gksu

The best feature of BleachBit is that it can automatically execute some Linuxe users who have only experienced After the usual things. For example, execute the autoclean, autoremove, clean command for the APT packages you don't need, and remove the cached package files that have already been installed. You don't need the package files that have already been downloaded —— this is like Windows and you don't have to save the installer after installing the software. Although it is unlikely, you may need to reinstall some files, and the APT package will be reinstalled.

analyze disk usage

Ubuntu comes with a scan your system and shows an overview of the image space of the largest directories and files. This will be very helpful when you are cleaning up the space —— Are you forgetting a virtual machine or other large files in your home directory? This tool can find them and visually show the space it occupies.

This tool is also included with —— Start Disk Usage Analyzer to open it. If you are using a non-Ubuntu Linux branch, it may also come with it because it is part of GNOME. If you can't find it, you can try to install the Baobab package. (sudo apt-get install baobab)
Previous12Next page Total 2 pages

Copyright © Windows knowledge All Rights Reserved