[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What is the apt cache good for?



On Fri, 25 Apr 2008 18:32:23 -0700, Daniel Burrows wrote:
> 
>   Most of that space is stored in /var/cache/apt/archives.  The rest of
> /var/cache/apt can be deleted but it'll be recreated next time you run
> apt; it's a binary cache of data that's used to speed apt up.
> 
>   I think it's mostly a holdover from when Internet connections were
> much slower than they are today.  apt keeps all the .debs it downloads
> in /var/cache/apt/archives, so that if you decide to remove some
> software and then want to re-install it later, you don't have to
> download it a second time.  It's useful for some purposes (e.g., you can
> copy those files to another machine rather than downloading them twice),
> but it also tends to clog people's /var partitions.

It sure clogged mine.  Lots of space, now.
> 
>   You can delete all the downloaded .deb files by running "aptitude clean".

I didn't know aptitude had that option.  Is there any difference
between it and "apt-get clean"?

> 
>   Daniel


Reply to: