Prøve GULL - Gratis
Trimming Down
Linux Magazine
|#297/August 2025: Cleaning Up
File bloat can happen to anyone. These simple tips will help you keep your systems lean and responsive.

Linux is stable, fast, and versatile. But let’s be honest: After a while, things get messy with temporary files, old packages, piled-up old kernels, and unused applications. Worse than the unused applications are the applications you install just to try and then remove without knowing what they'll leave behind.
Recently, I started noticing that my sleek Ubuntu system was feeling heavy, which made me realize it was time to liberate some disk space. As a longtime Linux user, I’ve faced these issues many times. The good news is that cleaning up your Linux system isn’t hard. In this article, I'll show you some ways to declutter your system and reclaim disk space while keeping Linux running smoothly.
Remove Unnecessary Packages
Over time, as you install and remove software, your system can pile up unused packages, specifically, orphaned packages. Orphaned packages are software components that were originally installed as dependencies for other programs, but you no longer need them because the parent software has been removed.
So, it’s good to get rid of them and reclaim the space. For Ubuntu and other Debian derivatives:
$ sudo apt autoremove
Sometimes cleaning starts with just updating the system:
$ sudo apt update && sudo apt upgrade
30 upgraded, 0 newly installed, 0 to remove, and 1 not upgraded.
This command fetches the latest patches and also clears out some older files in the process. So, you’re basically sweeping the floor before you start reorganizing.
Additionally, the following command:
apt autoclean
clears out all the package files that were downloaded in the local repository. It wipes out everything in /var/cache/apt/archives/ and /var/cache/apt/archives/partial/. The only exceptions it leaves behind are the lock file and the partial folder.
Look for Big Files
Denne historien er fra #297/August 2025: Cleaning Up-utgaven av Linux Magazine.
Abonner på Magzter GOLD for å få tilgang til tusenvis av kuraterte premiumhistorier og over 9000 magasiner og aviser.
Allerede abonnent? Logg på
FLERE HISTORIER FRA Linux Magazine
Linux Magazine
Exercise Place
The GRUB 2 boot manager might seem intimidating at first glance. All the more reason to spin up a virtual playground so you can practice.
10 mins
#298/September 2025: Indie Game Studio
Linux Magazine
Terminal Mosaic
What's better than one command line? Many command lines that never die. Take the terminal to new places with Zellij.
9 mins
#298/September 2025: Indie Game Studio

Linux Magazine
MakerSpace
Build a Long-Range Sensor Network with ChirpStack Sensor Symphony
14 mins
#298/September 2025: Indie Game Studio

Linux Magazine
How Flatpak, AppImage, and Snap are changing software distribution Ship It!
Modern-day package systems solve some problems posed by classic formats like DEB and RPM. We look at Flatpak, AppImage, and Snap and describe how they differ.
12 mins
#298/September 2025: Indie Game Studio

Linux Magazine
Dashboard Delight
Simplify the chaos of self-hosted services with Homepage, a customizable dashboard with widgets that put service statistics at your fingertips.
9 mins
#298/September 2025: Indie Game Studio

Linux Magazine
MADDOG'S DOGHOUSE
Free software, and the FOSS community, can help technology students get the education they desire in Brazil and elsewhere.
3 mins
#298/September 2025: Indie Game Studio

Linux Magazine
Rethinking the Terminal
The Warp AI agent takes the guesswork out of working at the command line. We show you how to build a simple website with one prompt.
4 mins
#298/September 2025: Indie Game Studio
Linux Magazine
Just in Time
Just is a command runner that lets you define project-specific tasks in a declarative justfile.
7 mins
#298/September 2025: Indie Game Studio

Linux Magazine
The Watcher
This versatile security app checks for vulnerabilities, watches logs, and acts as a single interface for other tools.
7 mins
#298/September 2025: Indie Game Studio

Linux Magazine
NO INTERNETREQUIRED
This new utility lets you update a system that is notconnected to the Internet.
4 mins
#298/September 2025: Indie Game Studio
Listen
Translate
Change font size