On Jo, 29 iul 10, 13:59:29, Eduardo M KALINOWSKI wrote: > On Qui, 29 Jul 2010, Andrei Popescu wrote: > >add > > > >dpkg -l | grep <packagename> > > At least here (a somewhat old 8.04 Ubuntu), dpkg -l still requires grep: > > $ dpkg -l gnome > No packages found matching gnome.
Of course, there is no package named 'gnome' ;) > $ dpkg -l | grep gnome > $ LANG=C dpkg -l | grep gnome > ii bluez-gnome 0.25-0ubuntu1 > Bluetooth utilities for [... Several lines of packages] > ii xulrunner-1.9-gnome-support > 1.9.0.9+nobinonly-0ubuntu0.8.04.1 Support for > Gnome in xulrunner-1.9 applications ,----[ dpkg-query(1) ] | -l, --list package-name-pattern... | List packages matching given pattern. If no package-name-pattern is | given, list all packages in /var/lib/dpkg/status, excluding the | ones marked as not-installed (i.e. those which have been previously | purged). Normal shell wildchars are allowed in package-name-pat‐ | tern. Please note you will probably have to quote | package-name-pattern to prevent the shell from performing filename | expansion. For example this will list all package names starting with | “libc6”: | | dpkg-query -l 'libc6*' `---- (Note: 'dpkg -l' is short for 'dpkg-query -l') Regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
signature.asc
Description: Digital signature