APT

From Leo's Notes
Revision as of 03:54, 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 03:54.

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