Sunday, February 1, 2009

dpkg-query

dpkg-query -l

On the command line (terminal window), use dpkg-query with the -l option to list all your packages


Use the -L option to list only the files that a package has installed: dpkg-query -L wine


To see the status information about a package, including its dependencies and configuration files, use the -s option. Fields will include Status, Section, Architecture, Version, Depends
(dependent packages), Suggests, Conflicts (conflicting packages), and Conffiles (configuration files).

Ex: dpkg-query -s wine

Use the -S option to determine to which package a particular file belongs:
dpkg-query -S filename

No comments:

Post a Comment