Programs Cache

Asked by Rob Frerejean

I download and try a lot of programs. Just to see what it can and can not. After I decide not to use it anymore I uninstall it.

I know all the files I download come in a cache. How can I empty that? And where is it located at?

Rob

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Vin Shankar
Solved:
Last query:
Last reply:
Revision history for this message
Vin Shankar (v-shankar) said :
#1

The cache is located at /var/apt/cache/archives and is best cleared with "sudo apt-get clean".

Hope that helps.

Revision history for this message
Rob Frerejean (hffrerejean) said :
#2

That folder does not exist on my system, but after the command I saw a
lot of space added to my system. So I guess it´s been cleared now.

Thankx

Revision history for this message
Best Vin Shankar (v-shankar) said :
#3

It's entirely possible that I got the location wrong - I'm npt in front of my own machine now, or I'd check. You can probably find it somewhere in the man page for apt=get (run 'man apt-get'). *scurries off to look at an online manpage reference*
Yes, I got apt and cache the wrong way round. It's /var/cache/apt/archives/

Revision history for this message
Vin Shankar (v-shankar) said :
#4

For your reference, there may be various different folders in /var/cache that you could safely clean, and if you're on a space-clearing mission, anything sitting in /tmp is fair game.

Revision history for this message
Rob Frerejean (hffrerejean) said :
#5

Thanks Vin Shankar, that solved my question.