Linux Format

Answers

Q Bloated Debian

This Debian 11 is my first attempt to explore Debian and I truly loved it for its stability and user-friendliness. I’m dual-booting Debian with Windows 10. I was wrong to set the Debian partition of 40GB only (2.6GB/41.8GB available). A short while later it seems the hard disk is full and many programs won’t install. I’ve removed many unnecessary applications, yet I still can’t install new ones.

What must I do to regain new space or to enlarge the partition?

Joe Wyatt

A In our view, 40GB is more than enough for even the most generous of installations, even with multiple desktop environments, so you must be losing space elsewhere. If you have set up a separate partition for /home, your home directory is the first place to look, especially if you’ve been downloading large files such as videos. If /home is not part of /, it’s possible that something is generating a lot of error messages and filling up /var/log with them, although it would have to be a lot to use that much space.

We’d normally suggest installing a disk-space viewer, such as the terminal- based ncdu or one of the graphical desktop equivalents, but you can’t install anything until you’ve at least partially resolved this problem. Fortunately, you can get a good idea of disk space usage with the standard tools you already have. $ df -h will show the usage of each filesystem, both in gigabytes and percentage. If your root partition isn’t showing 100 per cent usage here, it’s possible you’ve run out of inodes, which you can check with:

$ df -i

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format2 min read
Back Issues Missed One?
ISSUE 313 April 2024 Product code: LXFDB0313 In the magazine Discover how to use the ultimate hacker’s toolkit, staying out of trouble while doing so. And join us as we take the Puppy Linux developer’s new distro for a run and explore its container
Linux Format2 min read
Distro Watch
Ubuntu 24.04 LTS Noble Numbat is currently scheduled for release on 25th April. At the time of writing, we’re working with a daily build and expect a full review next issue. Nevertheless, we discovered that Canonical has announced this LTS release wi
Linux Format5 min read
Tips For Managing Docker Containers
Everyone knows how containers revolutionised application building and deployment. Using a E disposable stack of containers that make up an app that aren’t using the docker-compose command to manage the stack are missing a trick. It allows the shippin

Related Books & Audiobooks