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 setup static IP in Debian
How to create mailing list in Thunderbird
CentOS: install yum fastest mirror plugin for faster connection update
How to install LAMP (Apache, PHP and MySQL in Linux) using Yum
How to move Firefox tab bar to bottom
Symfony: PHP Fatal error: Call to a member function setData()
How to enable personal file sharing in Ubuntu 10.04
How to create symbolic link in Unix
Share this with your friends:-