APT: Difference between revisions
From Leo's Notes
This page was last edited on 29 March 2015, at 05:25.
Created page with "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 ..." |
No edit summary |
||
| Line 13: | Line 13: | ||
[[Category:Linux]] | [[Category:Linux]] | ||
[[Category:PackageManagement]] | |||
[[Category: | {{Navbox Linux}} | ||
Revision as of 05:25, 29 March 2015
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