APT

From Leo's Notes
Revision as of 05:10, 1 September 2019 by Leo (talk | contribs) (Text replacement - "{{Navbox Linux}}{{Navbox Linux}}" to "{{Navbox Linux}}")
This page was last edited on 1 September 2019, at 05:10.

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