APT

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

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