Tuesday, October 30, 2012

Using Debian package tools to list files in a package

To find a file in a Debian package here is a quick reference.

Using the dpkg command:

dpkg -l  =  List all the packages on the system.

dpkg -L {package}  =  List all the files in a package.

jemurray@unixhosts:~$ dpkg -l | grep mailman
ii  mailman                           1:2.1.13-1ubuntu0.2               Powerful, web-based mailing list manager
jemurray@unixhosts:~$ dpkg -L mailman | grep sbin

No comments:

Post a Comment