I have successfully installed some packages using the command line 'sudo apt-get install ...' 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?
|
|
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, tinyproxy - A lightweight, non-caching, optionally anonymizing HTTP proxy tircd - ircd proxy to the twitter API
To get a list of ALL packages
Use Synaptic if you have X-forwarding enabled or are on a desktopSynaptic 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
|
|||||||||||||||||||||
|
|
You can also use aptitude from the command line:
|
|||||||||
|
|
Using
|
|||||
|
To find out the package name and with it description before installing, use the ‘search‘ flag. Using “search” with apt-cache will display a list of matched packages with short description. Let’s say you would like to find out description of package ‘vsftpd‘, then command would be.
|
|||
|
|
Assuming you want to do all of this from the terminal use the following:first I recommend you update the package index files so the list of all files in the repository you are about to create is up to date
then use "search regex" function in
The above will give you ALL the results but it is not in any order that is particularly helpful for browsing. So finally we can sort by dictionary order using
|
||||
|
|

