Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Wish to search apt repositories with CLI tool. Did that in the past with:

apt-cache search <search_term>

Don't find apt-cache package:

# apt-get install apt-cache
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package apt-cache

Enabled all default repositories (multiverse).

share|improve this question
Please take the time to mark the proper answer as "accepted" – Argusvision Oct 21 '12 at 22:02

You got the reported result for apt-get install apt-cache because there is no package called apt-cache.
The following commands are part of apt package:
apt-cache, apt-cdrom, apt-config, apt-get, apt-key, apt-mark
Courtesy: Ubuntu software center

Since apt-get itself is working for you, the apt package and therefore apt-cache command should be installed in your system. So no need for manually installing it.

Try apt-cache show apt to ensure that your apt-cache command is working.

share|improve this answer

Well, the reason you wont find apt-cache for installation is because its supposed to be part of apt.

Perhaps a reinstall of apt would be in order? Something like this:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.