In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article focuses on "how to clean up useless Ubuntu disk space", interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to clean up useless Ubuntu disk space.
There must be a lot of friends who started with Ubuntu, and most novices will struggle with a lot of apps to try something new. This causes Ubuntu to consume as much disk space as Windows after a long period of use, especially after installing and uninstalling a large number of applications. However, what puzzles beginners is how to free up unnecessary Ubuntu disk space for cleaning.
The problem is that it's not like Windows's graphical disk space cleanup tool, so how do you clean up unnecessary Ubuntu disk space? In fact, as long as we execute two simple commands in the terminal, let's explain it in detail.
When we install packages in Ubuntu, sometimes the system will automatically help us install the necessary packages to solve the well-known dependency problem under Linux. However, when the user uninstalls the package, the package installed due to dependencies will not always be deleted, leaving it in the system will take up some unnecessary disk space. If this kind of software package adds up, it will take up a lot of unnecessary Ubuntu disk space.
Sudo apt-get autoremove
Using the above command, we can automatically clean up these unnecessary dependent packages, as well as older kernel files that are no longer used by Ubuntu.
When we install the application in the Ubuntu Software Center or using apt-get, the DEB installer of the application (similar to the exe or MSI installation package in Windows) will be downloaded to disk, and when the application installation is complete, these DEB files will also be stored on the hard disk, which will also take up a lot of space.
Sudo apt-get clean
Using the command above, we can clear the installation packages that are cached during installation. There is no risk in cleaning up the DEB installation cache files, and when you want to reinstall some software, the package manager downloads the installation files again.
At this point, I believe you have a deeper understanding of "how to clean up useless Ubuntu disk space". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.