Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to install Starcraft 2 and my / is 97% full. This is a fresh install of Ubuntu 12.10 with a basic LAMP environment. What can I do to resolve this? I am trying to install SC2 and some other windows applications via wine. Unfortunately I can't do that as long as I don't have disk space!

ben@ubuntu:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/loop0       29G   28G  945M  97% /
udev            7.8G  4.0K  7.8G   1% /dev
tmpfs           3.2G  1.1M  3.2G   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            7.9G  1.5M  7.9G   1% /run/shm
none            100M   24K  100M   1% /run/user
/dev/sda5       250G   30G  221G  12% /host
share|improve this question
Run du -sh * in / in order to get the size of each top-level subdirectory of /. That might help. –  cpast Feb 27 '13 at 5:15
@cpast That's very useful... that shows me that it is indeed coming from my home folder. Looking at the docs for du it doesn't seem like there's a way to easily sort by size unless I overlooked it? Also, it appears to be a hidden directory within my home folder. All visible directories within my home folder are under a few hundred MB. –  Webnet Feb 27 '13 at 5:30
Try du -x | sort -nr | less. The sizes should be in KiloBytes. –  mikewhatever Feb 27 '13 at 5:40
Use .* to match all hidden folders (note: this just matches hidden folders) –  cpast Feb 27 '13 at 5:44
You might find the baobab (aka Disk Usage Analyzer) program useful - it shows equivalent output to du as a hierarchical pie chart. –  chronitis Feb 27 '13 at 7:35
show 4 more comments

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.