Just installed Debian and looking for ways to list all available packages using apt. After some search, i found that you can use apt-cache to list all available packages in debian.
To list all available packages from apt, follow the steps below:-
Advertisements
# this will list all packages available thru apt-get
$ apt-cache pkgnames
# this will only return you the relevant result
$ apt-cache search 'your search term here'
# this only return result match `postgresql-8*`
$ apt-cache search 'postgresql-8'
Related posts:
How to reload .bash_profile in Linux or Mac?
Common MySQL database maintenance command
How to set print area in Calc - OpenOffice
How to create symbolic link in Unix
How to avoid duplicate content using .htaccess
How to insert new line (line break) in a cell - OpenOffice Calc
N900 virtual keyboard not working after uninstall SCIM
How to show line number in vi / vim editor
Share this with your friends:-