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

I wanted to install a few packages but had to power down my laptop as I had a few chores to do. I did add the packages' repositories and forgot to install the packages. As my browser history clears on closing, I couldn't recall their names (I'm bad at names).

I would like to know if there is any way I can inquire all available packages (i.e. which I can download or have downloaded) using my repositories?

share|improve this question
up vote 4 down vote accepted

The command line way of obtaining such a list would be apt-cache:

apt-cache dump # short list
apt-cache dumpavail # long list

This will take some time due to the many packages available.

My personal approach to view packages I can't remember still is installing and running Synaptic Install synaptic which has a searchable GUI and can also be used to install and purge a given package.

share|improve this answer
Synaptic works some what the way I want. – VedVals Nov 30 '12 at 15:09

If it's in the official repository, you can search or browse all available packages via web:

All packages for Ubuntu 12.10:

Of course you can run apt-get update and apt-cache search keyword to search for packages if you remember anything related.

If it's a PPA or 3rd party, you'd better check the repo's URL and see the list. For example, Cassandra:

share|improve this answer

if you run or add in your ~/.bashrc file:

. /etc/bash_completion

then you can use name autocompletion for packages the same way as for commands in Bash.

For example: apt-get i first_couple_of_letters_of_package

hitting TAB wil propose the available choices

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.