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:
OpenOffice Calc worksheet tab went missing
How to loop thru directory files in bash shell
PHP Fatal error: Class ‘DOMDocument’ not found in …
Password protect directory with .htaccess and .htpasswd
How to re-arrange account order in Thunderbird
How to move Firefox tab bar to bottom
Free FTP Client for Mac OS X / Win XP / Vista
CentOS 7: How to setup TUI Firewall settings?
Share this with your friends:-