Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What does it do? Is it ok to delete all of its content? It consumes 14GB of my hard disk already.

share|improve this question
Where is this file? – soandos Dec 11 '11 at 6:29
At kubuntu, in my case, it is located in user home folder and has 251 MB. – bbaja42 Dec 11 '11 at 6:32
@Amumu, could you show what is in that folder? ls -al .cache – bbaja42 Dec 11 '11 at 6:35
@soandos it is located in ~/ – Amumu Dec 11 '11 at 8:35
up vote 2 down vote accepted

In my .cache folder, in Kubuntu, there are files from Chromium (internet browser), VLC (media player) and files from apt (package updates).

I've just deleted them, and tried to use Chromium, VLC and apt-get. They all "seem" to work.

P.S. This is far from a good answer, a good answer should give an explanation why is there default .cache folder and when and how it should be deleted.

P.P.S. If you are thinking of just deleting it, make sure to check which programs are using it, and restart them.

share|improve this answer
Caching is usually used to speed up some processes. I have no experience with this in linux however. – soandos Dec 11 '11 at 7:21
@bbaja42 The cache seems to be normal again. Don't know what caused it to eat up a lot of space. It's good to know deleting won't hurt the system. And, I agree with you for having a detailed answer would be better, but in case no one cares, I will accept your answer since at least you care :) – Amumu Dec 11 '11 at 8:38
Probably a good idea to first close all running applications, then delete or move the .cache folder. You might not be able to delete files that are currently in use. – Michael Butler Apr 13 '14 at 22:22

It’s a very old question, but I guess a more descriptive answer should go here.

From the Spec:

$XDG_CACHE_HOME defines the base directory relative to which user specific non-essential data files should be stored. If $XDG_CACHE_HOME is either not set or empty, a default equal to $HOME/.cache should be used.

So unless some running software is actively using this directory (e.g. most browsers store their cache, and some software store video/picture thumbnails here, too), it is generally safe to remove it. Before you do so, you may want to check its contents; the sub-directory names will show you which programs store their data there.

share|improve this answer

My system ubuntu 14.04. I would use 2 step procedure. I would first rename it say xxxcache. Then I try to use the progs that use .cache. Most likely they will create new .cache and put the recently info in it. In other words, they should all work, but they will not remember the past. I have no time to test it, but this what I would do. If something really does not work say chrome, or eclipse I would change xxxcache back. On my ubuntu there is about 30 progs that are using .cache. IMHO

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.