APT

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

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