GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Dpkg(3perl) libdpkg-perl Dpkg(3perl)

Dpkg - module with core variables

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

It is also the entry point to the Dpkg module hierarchy.

$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.

The following is the list of public modules within the Dpkg hierarchy. Only modules with versions 1.00 or higher, and only the interfaces documented in their POD are considered public.

This module, core variables.
Architecture handling functions.
Build information functions.
Set, modify and query compilation build flags.
Parse and manipulate DEB_BUILD_OPTIONS.
Parse and manipulate build profiles.
Parse changelogs.
Represents a changelog entry.
Generic changelog parser for dpkg-parsechangelog.
Generate and parse checksums.
Simple database of available compression methods.
Transparently compress and decompress files.
Wrapper around compression tools.
Parse dpkg configuration files.
Parse and manipulate Debian control information (.dsc, .changes, Packages/Sources entries, etc.).
Represent fields output by dpkg-parsechangelog.
Manage (list of known) control fields.
Parse and manipulate a block of RFC822-like fields.
Parse files like debian/control.
Parse files like debian/tests/control.
Represents a debian/tests/control stanza.
Parse and manipulate dependencies.
Represents a single dependency statement.
Base module to represent multiple dependencies.
List of unrelated dependencies.
List of AND dependencies.
List of OR dependencies.
List of installed and virtual packages.
Push, pop and run exit handlers.
Wrapper around Locale::gettext.
Spawn sub-processes and feed/retrieve data.
Collections of Dpkg::Control (Packages/Sources files for example).
Base object serializer.
Common path handling functions.
Parse and manipulate debian/source/format files.
Extract Debian source packages.
Substitute variables in strings.
Identify current distribution vendor.
Parse and manipulate Debian package versions.

New variable: $PROGPATCH.

New variable: $PROGTAR, $PROGMAKE.

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

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

Mark the module as public.

2022-05-24 1.19.8

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.