I just noticed, that my SSD is almost full and I think it is because of all the zypper packages I got installed. I’ve got another ~100gb SSD thats just for stuff (mounted unter “Misc” says it all) and would like to move some (or all?) of the packages like vscode, podman or other stuff on that second SSD. Is there a way to do that with zypper without removing and installing them again under the new path?
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 :)