Free Up Disk Space by Removing Apt Cache

July 1, 2013 — Leave a comment

This is an one-command-skill for beginners to get familiar with your Ubuntu system. Don’t be worried even if you know nothing of Linux commands. Just copy and paste following code into terminal window and hit enter to run.

When you install an application from Ubuntu Software Center, it downloads DEB installer and all dependency packages from server, then install them to your system.

Ubuntu caches the DEB installer and dependency packages in /var/cache/apt/archives after the app or software properly installed. They are useless and take place. So here’s how to remove them to free up disk space.

To get started, hit Ctrl+Alt+T to open a terminal window. Copy and paste this code and run in terminal:

sudo apt-get clean

That’s it! You’ll be prompt to type user password to get past.

You may check disk usage by opening System Monitor from Unity Dash.



I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to

No Comments

Be the first to start the conversation.

Leave a Reply


Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>