APT

From Leo's Notes
Revision as of 05:25, 29 March 2015 by Leo (talk | contribs)
This page was last edited on 29 March 2015, at 05:25.

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