APT: Difference between revisions

From Leo's Notes
This page was last edited on 1 October 2019, at 20:24.
m Text replacement - "Category:Linux{{Navbox Linux}}" to "{{Navbox Linux}}Category:Linux"
m Leo moved page Apt, dpkg Tips & Tricks to APT: APT related software
(No difference)

Revision as of 20:24, 1 October 2019

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