dpkg-query man page on Darwin

Man page or keyword search:  
man Server   23457 pages
apropos Keyword Search (all sections)
Output format
Darwin logo
[printable version]

DPKG-QUERY(8)			  dpkg suite			 DPKG-QUERY(8)

NAME
       dpkg-query - a tool to query the dpkg database

SYNOPSIS
       dpkg-query

DESCRIPTION
       dpkg-query  is  a tool to show information about packages listed in the
       dpkg database.

COMMANDS
       -l | --list package-name-pattern ...
	      List packages matching given pattern. If no package-name-pattern
	      is given, list all packages in /sw/var/lib/dpkg/available.  Nor‐
	      mal shell wildchars are allowed in package-name-pattern.	Please
	      note  you	 will  probably	 have to quote package-name-pattern to
	      prevent the shell from performing filename expansion. For	 exam‐
	      ple this will list all package names starting with “libc5”:

		dpkg-query -l 'libc5*'

       -W | --show package-name-pattern ...
	      Just like the --list option this will list all packages matching
	      the given pattern. However the output can	 be  customized	 using
	      the --showformat option.

       -s | --status package-name ...
	      Report status of specified package. This just displays the entry
	      in the installed package status database.

       -L | --listfiles package ...
	      List files installed to your system from package.	 However, note
	      that  files created by package-specific installation-scripts are
	      not listed.

       -S | --search filename-search-pattern ...
	      Search for a filename  from  installed  packages.	 All  standard
	      shell  wildchars	can be used in the pattern.  This command will
	      not list extra files created by maintainer scripts, nor will  it
	      list alternatives.

       -p |--print-avail package
	      Display	  details     about	package,     as	   found    in
	      /sw/var/lib/dpkg/available.

       --licence | --license
	      Display licence and copyright information.

       --version
	      Display version information.

OPTIONS
       --admindir=dir
	      Change the location of the dpkg database. The  default  location
	      is /sw/var/lib/dpkg.

       --showformat=format
	      This  option  is used to specify the format of the output --show
	      will produce.  The format is a string that will  be  output  for
	      each   package  listed.  It  can	include	 the  standard	escape
	      sequences \n (newline), \r (carriage return) or \\ (plain	 back‐
	      slash).  Package	information can be included by inserting vari‐
	      able references to package fields using the ${var[;width]}  syn‐
	      tax.  Fields  are	 printed  be right-aligned unless the width is
	      negative in which case left alignment will be used.

ENVIRONMENT
       COLUMNS
	      This setting influences the  output  of  the  --list  option  by
	      changing the width of its output.

AUTHOR
       Copyright      2001	Wichert	    Akkerman	 <wakkerma@debian.org>
       ⟨mailto:wakkerma@debian.org⟩ Paths modified by Carsten Klapp to reflect
       fink distribution, December 2002.

       This  is free software; see the GNU General Public Licence version 2 or
       later for copying conditions.  There is NO warranty.

SEE ALSO
       dpkg(8)

Debian Project			  August 2001			 DPKG-QUERY(8)
[top]

List of man pages available for Darwin

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net