this post was submitted on 09 Feb 2024
7 points (88.9% liked)
Linux
5232 readers
129 users here now
A community for everything relating to the linux operating system
Also check out !linux_memes@programming.dev
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You might want to confirm that it is indeed zypper packages before you rearrange too much: Disk Usage Analysis on the desktop, or
du -sch *
on the console will get you some numbers by directory. It could also be cached packages, clean them up withzypper clean --all
.I'm not sure about specifying different destination directories with zypper, but you could try installing something like vscode from Flatpak rather than zypper, and specifying
--user
so it goes into your home directory (if that's a different partition).I'd also look at your containers with podman and clean up any old ones, they can take up a lot of space.
I've found the du command (but with other flags) and it led me to some old snapshots that took up a good chunk of space. du -sch revealed some 5gb of junk in my download folder, so that was a good call too ;D
zypper clean did not too much, but I got ~40gb of space back, so thats nice. I'll probably try to replace some of the not so close to the system stuff with flatpaks. Thats a thing I wanted to dive deeper into anyways.
For podman, I only just installed it because I wanted to learn more about container / docker stuff (it's part of my daily professional life, but I always feel like I don't actually know anything about it), so theres nothing to be removed. It was just the package that made me aware of the little space I had left on my disk.
Thanks, you've been a great help :)