I was wondering if apt has a directory where it stores all downloaded deb files through it. Any insight?
APT – Does apt Have a Directory Where It Stores All Downloads?
14.04aptaptitudecommand line
14.04aptaptitudecommand line
I was wondering if apt has a directory where it stores all downloaded deb files through it. Any insight?
Best Answer
Yes, there is such directory. That's
/var/cache/apt/archives/
Note that there is a subtle difference between
apt
andapt-get
in the fact thatapt
doesn't cache packages by default in 16.04. This can be amended by settingBinary::apt::APT::Keep-Downloaded-Packages
totrue
in/etc/apt/apt.conf.d/01keep-debs
file. As root user , do:See also.