Dpkg man page

Dpkg ā€” module with core variables

Description

The Dpkg module provides a set of variables with information concerning this system installation.

Variables

$Dpkg::PROGNAME

Contains the name of the current program.

$Dpkg::PROGVERSION

Contains the version of the dpkg suite.

$Dpkg::PROGMAKE

Contains the name of the system GNU make program.

$Dpkg::PROGTAR

Contains the name of the system GNU tar program.

$Dpkg::PROGPATCH

Contains the name of the system GNU patch program (or another implementation that is directory traversal resistant).

$Dpkg::CONFDIR

Contains the path to the dpkg system configuration directory.

$Dpkg::ADMINDIR

Contains the path to the dpkg database directory.

$Dpkg::LIBDIR

Contains the path to the dpkg methods and plugins directory.

$Dpkg::DATADIR

Contains the path to the dpkg architecture tables directory.

Changes

Version 1.03 (dpkg 1.18.24)

New variable: $PROGPATCH.

Version 1.02 (dpkg 1.18.11)

New variable: $PROGTAR, $PROGMAKE.

Version 1.01 (dpkg 1.17.0)

New variables: $PROGNAME, $PROGVERSION, $CONFDIR, $ADMINDIR, $LIBDIR and $DATADIR.

Deprecated variables: $version, $admindir, $dpkglibdir and $pkgdatadir.

Version 1.00 (dpkg 1.15.6)

Mark the module as public.

Info

2017-05-17 1.18.24 libdpkg-perl