Linux
Primarily Debian based like Ubuntu
Useful apt commands
daniel Sat, 03/13/2010 - 4:22pm
Search for a package name in the repository from the command line: (php5 in this case)
$ apt-cache search php5
Get a list of the installed packages:
$ dpkg --get-selections
You'll likely want to pipe the results of each through grep to filter results...
For example, to look for installed php5 packages:
$ dpkg --get-selections | grep php5
- Read more about Useful apt commands
- Log in to post comments
