Section: (pj)
Updated: 2021-10-19
Index Return to Main Contents

dpkg does the installing; apt-get manages depencendies and pulls things down from repositories.

To install a .deb file: dpkg -i foo.deb

To list installed packages: dpkg -list [pattern] # pattern is something like 'wine*'

To report the status of a package: dpkg -status

To list files currently installed by a package: dpkg -listfiles

To look for new packages: apt-cache search

To find the package containing a given file: apt-file search

To list what can be upgraded: apt list -upgradable

To upgrade only one package: apt-get install -only-upgrade

To upgrade everything: apt-get upgrade  


Paul A. Jungwirth.




This document was created by man2html, using the manual pages.
Time: 16:45:10 GMT, April 11, 2022