I have successfully installed some packages using the command line 'sudo apt-get install packagename' when I have known in advance that those packages are available. But how can I search for or get a list of what is available in the repositories?
Command-Line – Search for Available Packages
aptcommand line
Best Answer
To search for a particular package by name or description:
From the command-line, use:
where the search keyword can be all or part of a package name or any words used in its description.
For example,
apt-cache search proxy
includes both these packages:To get a list of ALL packages
Use Synaptic if you have X-forwarding enabled or are on a desktop
Synaptic is often a more convenient way to do this, but requires at least an X server on your end (unless you're running a desktop environment). Install with
sudo apt-get install synaptic
if necessary.Synaptic on ssh'd server via X forwarding:
Synaptic running locally on Ubuntu Desktop: