Dpkg

Dpkg is the base of the operating system Debian package management and the basic program to install and manipulate Debian binary packages ( file extension ". deb ").

The name is an abbreviation for dpkg Debian package. The Debian software package format was developed in the Debian project, but this packet format and the package manager dpkg is used by other software distributions. For example, use Debian in addition also the Fink project, which open source packages for Mac OS X is available, and Open Solaris distribution Nexenta dpkg.

Examples

A package install:

Dpkg -i ' dateiname.deb ' Remove a package:

Dpkg -r package_name ' All installed packages list:

Dpkg-l List all files in the package:

Dpkg -L ' packagename ' On dpkg -building software

The programs dselect (the oldest of these frontend programs ), apt-get, apt - console ( console based, now abandoned) and gnome -apt to be essentially dpkg frontends.

Dpkg can not resolve dependencies or download packages from the Internet. It can only deal with files that are located in the file system. Therefore, there are several programs that complement these opportunities and build on dpkg.

The text interface dselect can automatically resolve dependencies between packages and detect conflicts between package versions. This is the main functionality of dselect. For the actual installing and configuring packages is dpkg used. dselect packages can be obtained from various sources such as CDs, NFS or FTP servers. This frontend was originally developed by Ian Jackson and was to Debian 2.2, the preferred package manager. Normally dselect is invoked without parameters. It is presented an interactive menu that offers the user a list of actions. Of the selection screen is selected by default divided into upper and lower halves. The upper half shows a list of packages. A cursor bar selects individual packages or, if applicable, a group of packages by selecting the group header line. The lower half of the screen shows some details about the currently selected in the top half of the screen package. dselect is the administrator directly from some complexities that occur when managing large amount of packets with many interdependencies.

The APT apt-get program is a means to retrieve and install packages from multiple sources ( repository ) via the command line. apt-get works with the packages proper name and can only install the Debian packages from a source specified in / etc / apt / sources.list file is listed. apt- get will call after downloading the Debian package directly to dpkg.

Since Debian 3.0, and APT frontends for it, such as aptitude and synaptic, the preferred package management tools.

224645
de