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 add Primary and Secondary DNS server - /etc/resolve.conf - Linux
How to migrate SVN repository?
Mod Security - Open source Web Application Firewall
SVN: How to commit only modified files via command line
Turn on MySQL query cache to speed up query performance?
MySQL: How to add column to existing table
Prestashop 1.6: "Unexpected token <" error when upload category thumbnail
How to search files by content in Mac / Linux
Share this with your friends:-