Ubuntu: Does updating the system consume extra space?


I wonder if updating my system as suggested by the update manager consumes extra space?

Because even after installing all software I would like to use, I had about 10 GB free space. Now, without my knowledge, I have only 6GB free space.

Do I need to keep clearing temp folder contents like we do in Windows? If I need to delete, how do I do so? Any suggestions?


When you have done update , the cache files will stay remain here.you need to clear them.

from Terminal with CTRL+ALT+T you can clean it with

sudo apt-get autoremove  sudo apt-get autoclean  

If you love the GUI then there is a evergreen application named bleachbit

you can install it with sudo apt-get install bleachbit .

you can clear more space by clearing the old kernels which you can do it easily from the Synaptic package manager.

enter image description here

There remove the old kernels , not the current one. For better purpose stay with two old recent kernels and clear remaining all of them.That can give you more free space.

Hope that helps.


There will be some ebb and flow of hard drive space through updates. There could be some unneeded packages and old kernel left behind. I would recommend a

sudo apt-get autoremove

This will do some basic clean up.


The update by it self will reduce your free space on the disk almost always, because it is adding new packages/code/information to your system.

Also, the update system save the progress of the download of an update so if this is interrupted, you can return it from there.

To remove this cache files you can use the apt-get command with the following options:

  • clean to delete it
  • autoclean to do it automatically or
  • autoremove to remove unnecessary packages

For more information enter man apt-get or see the online man apt-get document


If you want, you can run these three commands together,

sudo apt-get update  sudo apt-get -y dist-upgrade  sudo apt-get autoremove  

The first one resynchronizes the package index files from their sources. The second one in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages. apt-get has a smart conflict resolution system, and it will attempt to upgrade the most important packages at the expense of less important ones if necessary. And finally, the third one removes packages that were automatically installed to satisfy dependencies for other packages and are now no longer needed.

Actually, I have put the three commands together under one alias. See below,

alias updatedistupgrade='sudo apt-get update; sudo apt-get -y dist-upgrade; sudo apt-get autoremove'  

All I do is to run updatedistupgrade from time to time. So, in my system, the unnecessary files are never there.

Please execute

man apt-get  

to get more information.


I am using Ubuntu Tweak which has very useful Janitor submenu. It let's you check which installation packages/old kernels could be removed. Nice and easy, no need to remeber these command line verses. And some of those packages really eat up disk space...

There are probably more applications that do the same.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »