this post was submitted on 07 Mar 2025
419 points (96.7% liked)

Linux

51268 readers
624 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.

top 50 comments
sorted by: hot top controversial new old
[–] somenonewho@feddit.org 3 points 14 hours ago

Personally I'm a huge fan of dust

[–] bhamlin@lemmy.world 5 points 1 day ago (1 children)

I normally use rm for that. Or wipefs if I'm feeling particularly spicy.

[–] Allero@lemmy.today 4 points 1 day ago (1 children)

Filelight is about finding the folders you don't use that take a lot of space. Basically an easier way to look into which folder takes up what.

load more comments (1 replies)
[–] MonkderVierte@lemmy.ml 8 points 1 day ago

My dad's Linux setup couldn't log in. After a bit of investigation, starting the session manually and so on, i got a hunch and indeed; i saw in Baobab that the backup script took the wrong disk, filled up the one with home, making it slow, so the log-in thingie timed out, failing the session.

[–] klu9@lemmy.ca 22 points 1 day ago (3 children)

Personally I'm loving diskonaut. "Graphical" representation but at, ahem, terminal velocity. Image

[–] some_random_nick@lemmy.world 4 points 1 day ago (1 children)

Jesus, that rustup folder is HUGE

[–] joe_cool@lemmy.ml 2 points 22 hours ago* (last edited 22 hours ago)

One of the things I dislike about Rust is the massive amount of disk space and time it takes to do a download, compile, test run.
2GB of dependencies and build files for a 200K binary is a bit much.

[–] fossilesque@lemmy.dbzer0.com 2 points 1 day ago (1 children)
[–] klu9@lemmy.ca 4 points 1 day ago (1 children)

https://github.com/imsnif/diskonaut

No package for my distro, I "installed" an AppImage with AM (which is also how I discovered it)

[–] Hawk@lemmy.dbzer0.com 3 points 1 day ago

I use dua, but this looks neat too.

[–] atzanteol@sh.itjust.works 99 points 2 days ago (6 children)

I freed 50gb by running 'docker system prune'...

[–] Joelk111@lemmy.world 4 points 1 day ago (1 children)

I'm new to docker and all of my shit stopped working recently. Just wouldn't load. Took about a half hour to find out that old images were taking up about 63GB on my 100GB boot partition, resulting in it being completely full.

I added the command to prune 3 month old images to my update scripts.

[–] atzanteol@sh.itjust.works 1 points 8 hours ago

Yeah, it's really not called out in the docs. I found out the same way.

[–] eager_eagle@lemmy.world 31 points 2 days ago (2 children)

last year I had over 1TB freed by docker system prune on a dev VM. If you're building images often, that's a mandatory command to run once in a while.

load more comments (2 replies)
load more comments (4 replies)
[–] eskuero@lemmy.fromshado.ws 62 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

[–] TheHobbyist@lemmy.zip 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.

load more comments (1 replies)
[–] pocopene@lemmy.world 38 points 2 days ago (2 children)

No one showing love for ncdu around here?

[–] flubba86@lemmy.world 7 points 1 day ago* (last edited 1 day ago)

Ncdu is my go-to tool. Can't live without it on the servers I administer. However from this thread I've also learned about gdu, diskonaut and du-dust that I need to check out.

load more comments (1 replies)
[–] umbrella@lemmy.ml 15 points 1 day ago

this looks exactly like gnome disk usage analyzer

[–] asl@mbin.launay.org 24 points 2 days ago (9 children)

The following NEW packages will be installed: filelight gamin kded5 kio kwayland-data kwayland-integration libdbusmenu-qt5-2 libgamin0 libhfstospell11 libkf5auth-data libkf5authcore5 libkf5codecs-data libkf5codecs5 libkf5completion-data libkf5completion5 libkf5config-bin libkf5config-data libkf5configcore5 libkf5configgui5 libkf5configwidgets-data libkf5configwidgets5 libkf5coreaddons-data libkf5coreaddons5 libkf5crash5 libkf5dbusaddons-bin libkf5dbusaddons-data libkf5dbusaddons5 libkf5doctools5 libkf5globalaccel-bin libkf5globalaccel-data libkf5globalaccel5 libkf5globalaccelprivate5 libkf5guiaddons-bin libkf5guiaddons-data libkf5guiaddons5 libkf5i18n-data libkf5i18n5 libkf5iconthemes-bin libkf5iconthemes-data libkf5iconthemes5 libkf5idletime5 libkf5itemviews-data libkf5itemviews5 libkf5jobwidgets-data libkf5jobwidgets5 libkf5kiocore5 libkf5kiogui5 libkf5kiontlm5 libkf5kiowidgets5 libkf5notifications-data libkf5notifications5 libkf5service-bin libkf5service-data libkf5service5 libkf5solid5 libkf5solid5-data libkf5sonnet5-data libkf5sonnetcore5 libkf5sonnetui5 libkf5textwidgets-data libkf5textwidgets5 libkf5wallet-bin libkf5wallet-data libkf5wallet5 libkf5waylandclient5 libkf5widgetsaddons-data libkf5widgetsaddons5 libkf5windowsystem-data libkf5windowsystem5 libkf5xmlgui-bin libkf5xmlgui-data libkf5xmlgui5 libkwalletbackend5-5 libpolkit-qt5-1-1 libqt5texttospeech5 libqt5waylandclient5 libqt5waylandcompositor5 libvoikko1 qtspeech5-speechd-plugin qtwayland5 sonnet-plugins 0 upgraded, 81 newly installed, 0 to remove and 0 not upgraded.

A bit too much to just install one soft. Hard pass.

[–] moonpiedumplings@programming.dev 9 points 1 day ago* (last edited 1 day ago) (1 children)
[moonpie@osiris ~]$ du -h $(which filelight)
316K    /usr/bin/filelight

K = kilobytes.

[moonpie@osiris ~]$ pacman -Ql filelight | awk '{print $2}' | xargs du | awk '{print $1}' | paste -sd+ | bc
45347740

45347740 bytes is 43.247 megabytes. That is to say, the entire install of filelight is only 43 megabytes.

KDE packages have many dependencies, which cause the packages themselves to be extremely tiny. By sharing a ton of code via libraries, they save a lot of space.

[–] priapus@sh.itjust.works 37 points 1 day ago

That's very normal if you don't have any KDE apps. If you were using KDE and installed a GNOME app it'd be similar.

[–] abbotsbury@lemmy.world 24 points 1 day ago

It's a KDE application, yes.

[–] coolmojo@lemmy.world 2 points 1 day ago

flatpak install flathub org.kde.filelight

[–] rustydrd@sh.itjust.works 14 points 1 day ago

You could try baobab instead.

[–] arkanelinux@feddit.nl 18 points 2 days ago

Looks like the depends list of the average KDE app on a none KDE system.

[–] MonkderVierte@lemmy.ml 2 points 1 day ago

On gtk desktops it's something like Baobab. Too sad that the big guys can't make lightweight and standalone software.

[–] PushButton@lemmy.world 7 points 1 day ago

My little widget to get the weather, Blazing Fast Uber Duper made in Rust, has like 85 total dependencies from like 3 crates that I need...

My own software is a hard pass for myself...

That's great!

Another thing that is great, since we are talking about disk space: people, check your Rust repositiry, it might be huge.

I deleted that folder and, in my case, freed 12gb. Not too shabby.

[–] pebbles@sh.itjust.works 12 points 2 days ago (1 children)

Lol I had no idea it relied on so much. Its just built into KDE. Really great app overall.

[–] Wilmo@lemmy.world 5 points 1 day ago

Basically all KDE apps have the same dependency set. So install one and the next ones will only install the app most likely. On KDE itself you'd already have these.

[–] bricked@feddit.org 33 points 2 days ago (2 children)

I freed my entire disk by removing the French language pack

[–] MrSoup@lemmy.zip 17 points 2 days ago (6 children)

I recommend it too. It's simple as doing:

sudo rm -rf /

Where "-rf" obviously stands for "remove french".

[–] dev_null@lemmy.ml 20 points 2 days ago* (last edited 2 days ago) (1 children)

The joke goes rm -fr, which stands for "remove french". Yours has double "remove" and is less believable.

load more comments (1 replies)
[–] xnx@slrpnk.net 19 points 2 days ago (1 children)

(This is a joke don’t do this or you’ll ruin your computer)

[–] emhl@feddit.org 1 points 5 hours ago

You can run it without causing any problems if you add the --no-preserve-root flag as well of course

load more comments (4 replies)
load more comments (1 replies)
[–] devfuuu@lemmy.world 19 points 2 days ago (1 children)

The always huge and killing my system space:

  • pacman cache
  • docker bullshit
  • flatpaks
  • journalctl files!
load more comments (1 replies)
[–] mvirts@lemmy.world 24 points 2 days ago (3 children)

I'm more of a baobab person myself 😋

load more comments (3 replies)
[–] beeng@discuss.tchncs.de 16 points 2 days ago (3 children)

dust

Yes, it's du in Rust + more.

[–] MonkderVierte@lemmy.ml 1 points 1 day ago (2 children)

Isn't that a wayland notification daemon already?

Edit: no, that's dunst.

Btw, how do you do the background color thing?

[–] Obin@feddit.org 2 points 7 hours ago* (last edited 7 hours ago)

Now someone needs to do a rewrite of dunst in rust called runst to make the confusion complete.

[–] beeng@discuss.tchncs.de 2 points 1 day ago (1 children)

I was confused what you meant by background colour thing so I went to dust docs haha.

Now I got you. It's a codeblock so it shows in monospace font. Look up .md formatting for tips.

In this case its a word between backticks `

[–] MonkderVierte@lemmy.ml 1 points 1 day ago

Ah, right, it's the inline code. Mindslip. Thanks!

load more comments (2 replies)
[–] sfera@beehaw.org 16 points 2 days ago (1 children)

Looks like the Gnome Disk Usage Analyzer but for KDE.

[–] caseyweederman@lemmy.ca 13 points 2 days ago (1 children)

That's a weird way to spell Baobab

[–] noxypaws@pawb.social 17 points 2 days ago

To be fair Baobab is a weird way to spell Baobab

[–] jbrains@sh.itjust.works 5 points 1 day ago* (last edited 1 day ago)

Excellent! I missed DaisyDisk. It looks great!

load more comments
view more: next ›