PDA

View Full Version : [ubuntu] apt-cache



vipulkelkar
October 15th, 2009, 01:33 PM
What is apt cache used for
How can i use apt-cache to try out stuff with packages

Thanks

hellblazer
October 15th, 2009, 02:19 PM
I speak under correction, but as far as I understand apt cache is a cache of all the packages you've already downloaded. So if you need to reinstall something you've downloaded before, the package file doesn't need to be downloaded again.

A friend tells me that it also loads the list of available packages from the repositories.

ikisham
October 15th, 2009, 02:45 PM
Open Terminal and type

man apt-cache

To exit the manual and get back to the Terminal, press 'q'.

Tomone
October 15th, 2009, 11:25 PM
With apt-cache, I use the search function if I'm not sure of the exact name of the package I'm looking for. It looks through the software repositories.

apt-cache search <search-term>