1

I installed many apps through Terminal. I notice that my storage had 120GB left and I installed 1 GB app then I uninstalled it and I got 119.5GB left. Where is my 500MB??? so my storage keeps decreasing day by day

I've tried apt-get purge to remove compeletely but my storage's still the same

I've been using Ubuntu for 2 days so please help

  • You also made sure the recycle bin was empty? – David Mar 05 '21 at 12:37
  • Yes, I did it everytime I use my computer – Phi Nhật Mar 05 '21 at 12:39
  • 1
    Disk space isn't only used by the applications you installed. There's also files in many other places such as log files in /var/log. I wouldn't be too worried about it as this is perfectly normal. You can use tools like baobab and ncdu to learn where the disk space went, but don't be tempted to go round randomly deleting things. Many new users do this and break their systems. – popey Mar 05 '21 at 12:44
  • Thanks a lot. I found out that I can use BleachBit to clean my system – Phi Nhật Mar 05 '21 at 12:47
  • 1
    When you install a package, it may have dependencies that also need to be installed in order for it to be run, so until your package system is cleaned those now orphaned packages will remain. If you want to hurry the process, you can issue the apt autoremove command to start the process yourself. – guiverc Mar 05 '21 at 13:22
  • 1
    Use of BleachBit is not necessary on an Ubuntu system. Properly uninstalled software should leave nothing behind (a couple exceptions). If you discover software from the Ubuntu repositories that improperly leaves files behind, report the bug. – user535733 Mar 05 '21 at 13:54

1 Answers1

1

It all depends on how you installed these programs.

If you have used APT, just run it:

sudo apt autoremove [package_name] [package_name] [package_name] [package_name] [package_name] [package_name] [package_name] [package_name]

Of course you can specify multiple packages separated by a blank space.

If you used Snap, you have to run:

sudo snap remove [program]

Finally, you should do a system optimisation with Stacer to remove a lot of unnecessary packages and files that take up space.

You can consult these posts as a guide, this one for uninstalling programs and this one for using Stacer.