Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

3 Answers 3

up vote 3 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
add comment

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
add comment

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

All packages for Ubuntu 12.10: http://packages.ubuntu.com/quantal/allpackages

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:

http://www.apache.org/dist/cassandra/debian/dists/11x/main/binary-amd64/

http://www.apache.org/dist/cassandra/debian/pool/main/c/cassandra/

share|improve this answer
add comment

Your Answer

 
discard

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.