On Thu, Feb 01, 2007 at 05:59:21PM -0600, Robert Citek wrote:
> How does one get a list of all the packages installed on a system,
> specifically Ubuntu?
>
> Currently, I use this pipeline:
>
> dpkg -l |
> tr -s ' ' '\t' |
> cut -f2 |
> tail +6
On a Debian system, the above will print out some packages that are
not installed, e.g., those that have been remove. To select only
those that are installed, try:
$ dpkg -l | awk '/^.i/ { print $2 }'
--
David Dooling
_______________________________________________
CWE-LUG mailing list
[email protected]
http://www.cwelug.org/
http://www.cwelug.org/archives/
http://www.cwelug.org/mailinglist/