Quick Answer: How Do I Clean up Disk Space on Ubuntu?
Contents How Do I Free up Disk Space on Ubuntu? Simple Ways to Free up Space in Ubuntu Linux Step 1: Remove Apt Cache. Ubuntu Keeps a Cache of the Installed...
Contents
How do I free up disk space on Ubuntu?
Simple Ways to Free Up Space in Ubuntu Linux
- Step 1: Remove APT Cache. Ubuntu keeps a cache of the installed packages which are downloaded or installed earlier even after uninstallation. …
- Step 2: Clean Journal Logs. …
- Step 3: Clean Up unused Packages. …
- Step 4: Remove Old Kernels.
Must Read
How do I clean up disk space in Linux?
Freeing disk space on your Linux server
- Get to the root of your machine by running cd /
- Run sudo du -h –max-depth=1.
- Note which directories are using a lot of disk space.
- cd into one of the big directories.
- Run ls -l to see which files are using a lot of space. Delete any you don’t need.
- Repeat steps 2 to 5.