Questions tagged [disk-cleanup]
The disk-cleanup tag has no summary.
35 questions
6 votes
1 answer
43k views
How to clean up a Linux system to free up disk space?
What are some generic ways to free up lots of storage space without deleting personal files? I'm doing a distro upgrade (Debian11->12) and it needs lots of disk space on the root partition / which ...
0 votes
1 answer
2k views
GCP /dev/sda1/ Disk Space Full, Shows 90% In Use, but Mounting SDA1 only showing 6GB. What is using all my space?
I'm running Wordpress instance on top of a Linux GCP VM instance. In SSH, running cmd 'df -h' I see /dev/sda1 is 91% used up. I mounted sda1 to see what could be taking up all the space, but ...
0 votes
1 answer
223 views
How to release the disk space of Linux home directory under another system
I have a SSD with an Ubuntu system, but for some reason the disk space is full. Now it is impossible to enter the system normally. How can I release disk space and reenter the system normally? This ...
1 vote
1 answer
3k views
How to clean up flatpak files in ~/.local/share/flatpak/repo/objects/?
flatpak list shows me that I only have one app and Freedesktop.org Software Development Kit (probably dependency for that app; ca 900MB) installed with flatpak and flatpak uninstall --unused returns ...
0 votes
0 answers
2k views
How to move log files in /var/log/journal to free disk space without losing logs?
I'd like to later check if there is a way / software to easily scan logs for issues one should look into² and if such exists scan all logs, including old logs. This is why for now I'd like to keep the ...
0 votes
1 answer
119 views
Filelight /home in /usr/share
I needed to remove some files in / and I noticed I have a folder /home/myusername in /usr/share whereas no such folder appear when I list the directoty, symbolik link or else in /usr/share. What could ...
-2 votes
1 answer
378 views
How to identify and remove packages no longer in use? [closed]
For some reason I have installed a lot of packages on my Linux distros (Fedora/CentOS/Debian/Ubuntu/Arch/...). Some of them are only for one-time use. But they will be included for upgrade whenever I ...
0 votes
2 answers
4k views
How do I cleanup a boot partition that can't be cleaned up with package-cleanup?
I recently reinstalled CentOS 7 on a lab/development machine. I wanted to keep the /home partition from the previous installation, so I manually configured the partitioning to allow me to do that. In ...