1

I installed ubuntu 19.04 20 days ago. My root partition has a size of 20gb and it is almost full. Here is what Disk usage analyzer outputs. According to dua the folder /usr/lib is taking up the most space. I tried cleaning up with apt (clean,autoclean,autoremove),with bleachbit, removing old snap versions, general suggestions but have still little space left.

Should I resize my root partition?

Edit: After running dua as root I got a better view of what takes up space. /root/.cache takes up 4.8GB and /var/lib/snapd/cache take up 1.2GB. What are those folders?

1 Answers1

0

I was only getting a partial view from the disk usage analyser and what helped me get a full view was to execute it as root using:

sudo baobab

In my case I deleted /root/.cache (after login as superuser) and the snapd cache under /var/lib/snapd/cache which in total accounted for 7GB

  • 1
    sudo -H baobab Never ever start graphically programs only with sudo. it can break ownership from important files in your $HOME. – nobody Sep 26 '19 at 11:54
  • I didn't know that.. But does baobab even change ownership, I thought it's meant for inspecting purposes. – Iason Manolas Sep 26 '19 at 12:06