Being a new comer in Ubuntu environment, I am bit confused between the apt-get and apt-cache. Can anyone explain what is difference between apt-get and apt-cache. And when to use the apt-get and apt-cache?
Thanks in Advance!
Being a new comer in Ubuntu environment, I am bit confused between the apt-get and apt-cache. Can anyone explain what is difference between apt-get and apt-cache. And when to use the apt-get and apt-cache?
Thanks in Advance!
apt-cache is for queries, i.e. for searching packages and getting details like dependencies or versions.
apt-get is for, well getting it, installing, package management in general.
The tasks of apt-get and apt-cache are nowadays handled by apt (via e.g. apt install and apt search).
Check them man entries of either for more details.