1Dpkg(3perl)                      libdpkg-perl                      Dpkg(3perl)
2
3
4

NAME

6       Dpkg - module with core variables
7

DESCRIPTION

9       The Dpkg module provides a set of variables with information concerning
10       this system installation.
11
12       It is also the entry point to the Dpkg module hierarchy.
13

VARIABLES

15       $Dpkg::PROGNAME
16           Contains the name of the current program.
17
18       $Dpkg::PROGVERSION
19           Contains the version of the dpkg suite.
20
21       $Dpkg::PROGMAKE
22           Contains the name of the system GNU make program.
23
24       $Dpkg::PROGTAR
25           Contains the name of the system GNU tar program.
26
27       $Dpkg::PROGPATCH
28           Contains the name of the system GNU patch program (or another
29           implementation that is directory traversal resistant).
30
31       $Dpkg::CONFDIR
32           Contains the path to the dpkg system configuration directory.
33
34       $Dpkg::ADMINDIR
35           Contains the path to the dpkg database directory.
36
37       $Dpkg::LIBDIR
38           Contains the path to the dpkg methods and plugins directory.
39
40       $Dpkg::DATADIR
41           Contains the path to the dpkg architecture tables directory.
42

MODULES

44       The following is the list of public modules within the Dpkg hierarchy.
45       Only modules with versions 1.00 or higher, and only the interfaces
46       documented in their POD are considered public.
47
48       Dpkg
49           This module, core variables.
50
51       Dpkg::Arch
52           Architecture handling functions.
53
54       Dpkg::BuildFlags
55           Set, modify and query compilation build flags.
56
57       Dpkg::BuildInfo
58           Build information functions.
59
60       Dpkg::BuildOptions
61           Parse and manipulate DEB_BUILD_OPTIONS.
62
63       Dpkg::BuildProfiles
64           Parse and manipulate build profiles.
65
66       Dpkg::Changelog
67           Parse changelogs.
68
69       Dpkg::Changelog::Entry
70           Represents a changelog entry.
71
72       Dpkg::Changelog::Parse
73           Generic changelog parser for dpkg-parsechangelog.
74
75       Dpkg::Checksums
76           Generate and parse checksums.
77
78       Dpkg::Compression
79           Simple database of available compression methods.
80
81       Dpkg::Compression::FileHandle
82           Transparently compress and decompress files.
83
84       Dpkg::Compression::Process
85           Wrapper around compression tools.
86
87       Dpkg::Conf
88           Parse dpkg configuration files.
89
90       Dpkg::Control
91           Parse and manipulate Debian control information (.dsc, .changes,
92           Packages/Sources entries, etc.).
93
94       Dpkg::Control::Changelog
95           Represent fields output by dpkg-parsechangelog.
96
97       Dpkg::Control::Fields
98           Manage (list of known) control fields.
99
100       Dpkg::Control::Hash
101           Parse and manipulate a stanza of deb822 fields.
102
103       Dpkg::Control::Info
104           Parse files like debian/control.
105
106       Dpkg::Control::Tests
107           Parse files like debian/tests/control.
108
109       Dpkg::Control::Tests::Entry
110           Represents a debian/tests/control stanza.
111
112       Dpkg::Deps
113           Parse and manipulate dependencies.
114
115       Dpkg::Deps::Simple
116           Represents a single dependency statement.
117
118       Dpkg::Deps::Multiple
119           Base module to represent multiple dependencies.
120
121       Dpkg::Deps::Union
122           List of unrelated dependencies.
123
124       Dpkg::Deps::AND
125           List of AND dependencies.
126
127       Dpkg::Deps::OR
128           List of OR dependencies.
129
130       Dpkg::Deps::KnownFacts
131           List of installed and virtual packages.
132
133       Dpkg::Exit
134           Push, pop and run exit handlers.
135
136       Dpkg::Gettext
137           Wrapper around Locale::gettext.
138
139       Dpkg::IPC
140           Spawn sub-processes and feed/retrieve data.
141
142       Dpkg::Index
143           Collections of Dpkg::Control (Packages/Sources files for example).
144
145       Dpkg::Interface::Storable
146           Base object serializer.
147
148       Dpkg::Path
149           Common path handling functions.
150
151       Dpkg::Source::Format
152           Parse and manipulate debian/source/format files.
153
154       Dpkg::Source::Package
155           Extract Debian source packages.
156
157       Dpkg::Substvars
158           Substitute variables in strings.
159
160       Dpkg::Vendor
161           Identify current distribution vendor.
162
163       Dpkg::Version
164           Parse and manipulate Debian package versions.
165

CHANGES

167   Version 2.00 (dpkg 1.20.0)
168       Remove variables: $version, $progname, $admindir, $dpkglibdir and
169       $pkgdatadir.
170
171   Version 1.03 (dpkg 1.18.24)
172       New variable: $PROGPATCH.
173
174   Version 1.02 (dpkg 1.18.11)
175       New variable: $PROGTAR, $PROGMAKE.
176
177   Version 1.01 (dpkg 1.17.0)
178       New variables: $PROGNAME, $PROGVERSION, $CONFDIR, $ADMINDIR, $LIBDIR
179       and $DATADIR.
180
181       Deprecated variables: $version, $admindir, $dpkglibdir and $pkgdatadir.
182
183   Version 1.00 (dpkg 1.15.6)
184       Mark the module as public.
185

LICENSE

187       See the header comment on each module for their particular license.
188
189
190
1911.21.21                           2023-07-19                       Dpkg(3perl)
Impressum