Debian Package Manager
dpkg (common parlance : [diː ˈpækɪdʒ] ) is the basis of the package management of the Debian operating system and the basic program for installing and manipulating Debian binary packages ( file extension ".deb").
The name dpkg is an abbreviation for Debian Package . The Debian software package format was developed in the Debian project, but this package format and the package management program dpkg are also used by other software distributions . For example, in addition to Debian, the Fink project, which provides open source packages for Mac OS X , and the OpenSolaris distribution Nexenta OS use dpkg. Dpkg is also often used for package management on jailbroken iOS devices.
Examples
Install a package:
dpkg -i 'dateiname.deb'
Remove a package:
dpkg -r 'paketname'
List all installed packages:
dpkg -l
List all files included in the package:
dpkg -L 'paketname'
Software based on dpkg
The programs dselect
(the oldest of these front-end programs) apt-get
, console-apt
(console based, now abandoned) and gnome-apt
are essentially frontends to dpkg
.
dpkg cannot resolve dependencies or download packages from the internet. It can only handle files that are in the file system. There are therefore several programs that supplement these options and are based on dpkg.
The text interface dselect can independently resolve dependencies between packages and detect conflicts between package versions. This is the main functionality of dselect . Dpkg is used to actually install and configure packages. dselect may route packets from various sources such as CDs, NFS - or FTP - servers relate. This front end was originally developed by Ian Jackson and was the preferred package manager up to Debian 2.2. Usually dselect is called without parameters. An interactive menu is presented offering the user a list of actions. The selection screen is divided into an upper and a lower half by default. The top half shows a list of packages. A cursor bar selects individual packages or, if applicable, a group of packages by selecting the group header. The lower half of the screen shows some details about the package currently selected in the upper half of the screen. dselect directly exposes the administrator to some of the complexities that arise when managing large quantities of packages with many interdependencies.
The APT program apt-get
is a means of obtaining and installing packages from various sources ( repositories ) via the command line.
apt-get
works with the package name and can only install the Debian packages if a corresponding source is listed in the /etc/apt/sources.list file. apt-get is called directly after downloading the Debian package dpkg
.
Since Debian 3.0, APT and frontends such as aptitude and Synaptic are the preferred tools for package management.
Web links
Individual evidence
- ↑ A Jailbreak for iOS 10.x, supporting all 64-bit devices. Retrieved November 25, 2018 .