Menu

Post image 1
Post image 2
1 / 2
0

TIL: Snaps Are Secretly Eating Your Disk Space (Here’s How to Fix It) 🐧

DEV Community·Zayan Mohamed·24 days ago
#B2Fhun8f
#linux#ubuntu#bash#snap#flatpak#disabled
Reading 0:00
15s threshold

If you use Linux as your daily driver, you’ve probably noticed your root partition quietly shrinking over time. You run ncdu or df -h , poke around your directories, and wonder: Where did all my storage go? Today I Learned (TIL) that a massive chunk of that missing space might be hiding in plain sight. The "Secret" Snap Stash 📦 Package managers like Snap and Flatpak are incredibly convenient for cross-distribution app installations. However, Snap has a habit of hoarding. By default, Snap secretly keeps the last 2 or 3 versions of every single application you install. The logic behind this is sound: if a new update breaks an app, you can easily roll back to the previous working version. But over time? This "just in case" feature wastes gigabytes of valuable disk space, keeping obsolete binaries on your system indefinitely. The Solution: Cleaning Up Old Snaps 🧹 You can easily reclaim this space by removing the old, "disabled" versions of your snaps.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More