Debian package management

From wiki
Revision as of 14:49, 13 April 2018 by imported>Johayek (...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
# the Debian APT = Advanced Packaging Tool
# update and upgrade
$ sudo apt-get update # update is used to resynchronize the package index files from their sources
$ sudo apt-get upgrade # upgrade is used to install the newest versions of all packages currently installed on the system from the sources enumerated in /etc/apt/sources.list

dealing with packages files (.deb)

# which files are included? will be created from this package file?
$ ...
# what's the official package name?
$ ...
# what's the content of this package file?
$ ...
# ...
$ ...

dealing with installed packages

# which packages are installed (together with details)?
$ ... --list
# details of an installed package
$ ... --list PACKAGE
# what's the content of an installed package?
$ ... --listfiles ...
# ...
$ ...