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:
Composer: PHP Fatal error: Allowed memory size of ... exhausted...
How to install Fedora to USB drive
How to split compressed file into smaller files in Linux / Mac
MySQL: Full text search for multiple words
N900: How to connect Wifi protected setup compliant Network
CentOS 7: How to setup TUI Firewall settings?
WordPress Dev: How to send html email using wp_mail()?
How to install apache, php, mysql with macport in Mac OS X
Share this with your friends:-