APT

From Leo's Notes
Revision as of 10:28, 17 April 2013 by Leo (talk | contribs) (Created page with "To list installed packages: dpkg -l To look for a specific package by name: dpkg -l <package name> To determine the origin of a file: dpkg -S <path to file> eg: # dpkg ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This page was last edited on 17 April 2013, at 10:28.

To list installed packages:

dpkg -l

To look for a specific package by name:

dpkg -l <package name>

To determine the origin of a file:

dpkg -S <path to file>

eg:

# dpkg -S /etc/rc3.d/
sysv-rc