this post was submitted on 07 Mar 2025
415 points (96.0% liked)

Linux

51193 readers
990 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

And that's all, I'm happy since I was out of space.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 61 points 2 days ago* (last edited 2 days ago) (2 children)

Clean all the cache downloads of Arch Linux Packages

pacman -Scc

Remove unused docker networks and images

docker system prune --all

Cleanup untracked git files that might be in .gitignore such as build and out directories (beware of losing data, use "n" instead of "f" for a dry run)

git clean -xdf

Do an aggresive pruning of objects in git (MIGHT BE VERY SLOW)

git gc --aggressive --prune=now

Remove old journal logs, keeping last seven days

journalctl --vacuum-time 7days

Remove pip cache

pip cache purge

[–] [email protected] 11 points 2 days ago

Remove unused conda packages and caches:

conda clean --all

If you are a Python developer, this can easily be several or tens of GB.

[–] [email protected] 1 points 1 day ago

I can see you're not using Flatpak, the destroyer of disk space. Nice list though!