Issue
What does apt's cache mean in the below defination?
apt-cache is a command to manipulate and obtain information from the packages at apt's cache.
I searched a lot on this.. I get that there are lot commands under apt-cache which help us in getting/searching packages. But apt's cache!! What does it mean??
Solution
APT downloads packages information (with apt-get update
) and stores them in a local database located at /var/cache/apt
. This way, APT doesn't have to download something from the Internet every time you want, for instance, to search for a package.
That local database is APT's cache.
Answered By - Stefano Sanfilippo Answer Checked By - Mary Flores (WPSolving Volunteer)