0

Speed up Ubuntu by Deleting Cached Files & Free Up the Disk Space

We have found an interesting Tip for Ubuntu users, who are having the older computers. The old computers usually have smaller hard drives, so it is very difficult to save every bit of drive space. For that you need to free up a considerable amount of drive space.

Ubuntu’s package manager downloads all of the packages of the softwares whenever you update it. Ubuntu also caches all the downloads to the system ans uses them whenever they are installed. So this is a hell lot of waste space occupied by unwanted files and this has to be removed for the system to run fast.

1. Checking the Drive Space Used by Cached Files

Open the below folder,

/var/cache/apt/archives

or run this command from the command prompt:

du –sh /var/cache/apt/archives

Now you can the amount of space cached.

2. Cleaning The Cached Files of the Packages:

Use this command from the command prompt to clean the Cached Files

sudo apt-get clean

Manually also you delete these files, but that will take much time, and some files may be locked, sometimes you may not be able to delete and you will become frustrated of this problem. So it is better to type this command and delete all files without any problem instead of manually deleting them.

Are you feeling tired or Are you lazy to delete all the files by going to command prompt every time. If it is so, here we have a tip to overcome that also.

How to Disable Automatic Caching of Package Files in Ubuntu Linux?

Leave a Reply




If you want a picture to show with your comment, go get a Gravatar.