Free Up Disk Space by Removing Apt Cache

Last updated: August 17, 2013

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.

System_Monitor

Enjoy!

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via ubuntuhandbook1@gmail.com Buy me a coffee: https://ko-fi.com/ubuntuhandbook1