apt-get

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  

AUTHORS

Paul A. Jungwirth.


 

Index

AUTHORS

This document was created by man2html, using the manual pages.
Time: 02:09:34 GMT, November 21, 2024