{
    "mode": "perldoc",
    "parameter": "Dpkg",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Dpkg/json",
    "generated": "2026-07-05T13:03:53Z",
    "sections": {
        "NAME": {
            "content": "Dpkg - module with core variables\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The Dpkg module provides a set of variables with information concerning this system\ninstallation.\n\nIt is also the entry point to the Dpkg module hierarchy.\n",
            "subsections": []
        },
        "VARIABLES": {
            "content": "$Dpkg::PROGNAME\nContains the name of the current program.\n\n$Dpkg::PROGVERSION\nContains the version of the dpkg suite.\n\n$Dpkg::PROGMAKE\nContains the name of the system GNU make program.\n\n$Dpkg::PROGTAR\nContains the name of the system GNU tar program.\n\n$Dpkg::PROGPATCH\nContains the name of the system GNU patch program (or another implementation that is\ndirectory traversal resistant).\n\n$Dpkg::CONFDIR\nContains the path to the dpkg system configuration directory.\n\n$Dpkg::ADMINDIR\nContains the path to the dpkg database directory.\n\n$Dpkg::LIBDIR\nContains the path to the dpkg methods and plugins directory.\n\n$Dpkg::DATADIR\nContains the path to the dpkg architecture tables directory.\n",
            "subsections": []
        },
        "MODULES": {
            "content": "The following is the list of public modules within the Dpkg hierarchy. Only modules with\nversions 1.00 or higher, and only the interfaces documented in their POD are considered public.\n\nDpkg\nThis module, core variables.\n\nDpkg::Arch\nArchitecture handling functions.\n\nDpkg::Build::Info\nBuild information functions.\n\nDpkg::BuildFlags\nSet, modify and query compilation build flags.\n\nDpkg::BuildOptions\nParse and manipulate DEBBUILDOPTIONS.\n\nDpkg::BuildProfiles\nParse and manipulate build profiles.\n\nDpkg::Changelog\nParse changelogs.\n\nDpkg::Changelog::Entry\nRepresents a changelog entry.\n\nDpkg::Changelog::Parse\nGeneric changelog parser for dpkg-parsechangelog.\n\nDpkg::Checksums\nGenerate and parse checksums.\n\nDpkg::Compression\nSimple database of available compression methods.\n\nDpkg::Compression::FileHandle\nTransparently compress and decompress files.\n\nDpkg::Compression::Process\nWrapper around compression tools.\n\nDpkg::Conf\nParse dpkg configuration files.\n\nDpkg::Control\nParse and manipulate Debian control information (.dsc, .changes, Packages/Sources entries,\netc.).\n\nDpkg::Control::Changelog\nRepresent fields output by dpkg-parsechangelog.\n\nDpkg::Control::Fields\nManage (list of known) control fields.\n\nDpkg::Control::Hash\nParse and manipulate a block of RFC822-like fields.\n\nDpkg::Control::Info\nParse files like debian/control.\n\nDpkg::Control::Tests\nParse files like debian/tests/control.\n\nDpkg::Control::Tests::Entry\nRepresents a debian/tests/control stanza.\n\nDpkg::Deps\nParse and manipulate dependencies.\n\nDpkg::Deps::Simple\nRepresents a single dependency statement.\n\nDpkg::Deps::Multiple\nBase module to represent multiple dependencies.\n\nDpkg::Deps::Union\nList of unrelated dependencies.\n\nDpkg::Deps::AND\nList of AND dependencies.\n\nDpkg::Deps::OR\nList of OR dependencies.\n\nDpkg::Deps::KnownFacts\nList of installed and virtual packages.\n\nDpkg::Exit\nPush, pop and run exit handlers.\n\nDpkg::Gettext\nWrapper around Locale::gettext.\n\nDpkg::IPC\nSpawn sub-processes and feed/retrieve data.\n\nDpkg::Index\nCollections of Dpkg::Control (Packages/Sources files for example).\n\nDpkg::Interface::Storable\nBase object serializer.\n\nDpkg::Path\nCommon path handling functions.\n\nDpkg::Source::Format\nParse and manipulate debian/source/format files.\n\nDpkg::Source::Package\nExtract Debian source packages.\n\nDpkg::Substvars\nSubstitute variables in strings.\n\nDpkg::Vendor\nIdentify current distribution vendor.\n\nDpkg::Version\nParse and manipulate Debian package versions.\n",
            "subsections": []
        },
        "CHANGES": {
            "content": "Version 2.00 (dpkg 1.20.0)\nRemove variables: $version, $progname, $admindir, $dpkglibdir and $pkgdatadir.\n\nVersion 1.03 (dpkg 1.18.24)\nNew variable: $PROGPATCH.\n\nVersion 1.02 (dpkg 1.18.11)\nNew variable: $PROGTAR, $PROGMAKE.\n\nVersion 1.01 (dpkg 1.17.0)\nNew variables: $PROGNAME, $PROGVERSION, $CONFDIR, $ADMINDIR, $LIBDIR and $DATADIR.\n\nDeprecated variables: $version, $admindir, $dpkglibdir and $pkgdatadir.\n\nVersion 1.00 (dpkg 1.15.6)\nMark the module as public.\n",
            "subsections": []
        },
        "LICENSE": {
            "content": "See the header comment on each module for their particular license.\n",
            "subsections": []
        }
    },
    "summary": "Dpkg - module with core variables",
    "flags": [],
    "examples": [],
    "see_also": []
}