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 block all file access except one using .htaccess
MySQL 5.5 PDO::__construct(): The server requested authentication method unknown to the client [mysq...
How to setup mysqldump without password in cronjob
Symfony doctrine schema relationship sample
Symfony 1.4: How to sort foreign key record?
How to sync Google Calendar with Thunderbird
How to extract .deb file in Linux / Mac
Symfony Filter: Change ForeignKey drop down to Text field
Share this with your friends:-