Getting all available packages to install

Posted by Mustafa on Ask Ubuntu See other posts from Ask Ubuntu or by Mustafa
Published on 2012-07-03T08:23:49Z Indexed on 2012/07/03 9:23 UTC
Read the original article Hit count: 315

Filed under:

I need to see all the packages that are available to install via a command so I can use it in another program. I tried dpkg -l but it only gives the installed packages. The output is like this:

ii apache2-utils 2.2.22-1ubuntu1 utility programs for webservers

It is so similar to Synaptic output, so is there a common command like this am I missing? apt-cache is helpful but not it is not in the above format.

© Ask Ubuntu or respective owner

Related posts about package-management