OS taking a lot of space?
Posted: Sun May 17, 2015 6:11 pm
by theirry
When I started using the pi around 6 GB of space was already used, probably for the OS and the preinstalled software. I was just wondering if this was normal, since I have used a gigabyte of space now, half of that from doing sudo apt-get update. I was surprised that a small os like this, and its preinstalled applications would take up 6GB of space. also, it would be good if there was any way to free the space up.
Thanks once again (I think I probably been asking the majority of questions so far..)
Thierry
Re: OS taking a lot of space?
Posted: Sun May 17, 2015 6:33 pm
by rpdom
If you have done some apt-get upgrades then you may still have the downloaded installation files stored. You no longer need those once the software is installed / upgraded. You can clear them with
There may also be some software installed that you don't wish to use. One of those packages may be (depending on which install image you used) the Wolfram Mathematica package which takes up a lot of space. You can get rid of that with
Re: OS taking a lot of space?
Posted: Mon May 18, 2015 7:32 am
by theirry
Thankyou!
Re: OS taking a lot of space?
Posted: Mon May 18, 2015 10:28 am
by Davespice
Try this command:
You should see something like this:
Code: Select all
Filesystem Size Used Avail Use% Mounted on
rootfs 7.2G 2.6G 4.3G 38% /
/dev/root 7.2G 2.6G 4.3G 38% /
devtmpfs 214M 0 214M 0% /dev
tmpfs 44M 236K 44M 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 88M 0 88M 0% /run/shm
/dev/mmcblk0p1 56M 19M 37M 34% /boot
Look at the
Size and
Avail column for the
rootfs row (usually the first row). See I've got 4.3 GB available on mine.
If you have a NOOBS installation on your SD card some of the 8 GB of space is used up by the Raspbian recovery image.
Re: OS taking a lot of space?
Posted: Mon May 18, 2015 5:37 pm
by theirry
Ah ok thanks again!