<s>
dpkg	B-Language
is	O
the	O
software	O
at	O
the	O
base	O
of	O
the	O
package	B-Application
management	I-Application
system	I-Application
in	O
the	O
free	B-Application
operating	O
system	O
Debian	O
and	O
its	O
numerous	O
derivatives	O
.	O
</s>
<s>
dpkg	B-Language
is	O
used	O
to	O
install	O
,	O
remove	O
,	O
and	O
provide	O
information	O
about	O
.deb	O
packages	O
.	O
</s>
<s>
dpkg	B-Language
(	O
Debian	O
Package	B-Application
)	O
itself	O
is	O
a	O
low-level	O
tool	O
.	O
</s>
<s>
APT	B-Application
(	O
Advanced	B-Application
Package	I-Application
Tool	I-Application
)	O
,	O
a	O
higher-level	O
tool	O
,	O
is	O
more	O
commonly	O
used	O
than	O
dpkg	B-Language
as	O
it	O
can	O
fetch	O
packages	O
from	O
remote	O
locations	O
and	O
deal	O
with	O
complex	O
package	B-Application
relations	O
,	O
such	O
as	O
dependency	O
resolution	O
.	O
</s>
<s>
Frontends	O
for	O
APT	B-Application
,	O
like	O
aptitude	O
(	O
ncurses	B-Language
)	O
and	O
synaptic	B-Language
(	O
GTK	B-Application
)	O
,	O
are	O
used	O
for	O
their	O
friendlier	O
interfaces	O
.	O
</s>
<s>
The	O
Debian	O
package	B-Application
"	O
dpkg	B-Language
"	O
provides	O
the	O
dpkg	B-Language
program	O
,	O
as	O
well	O
as	O
several	O
other	O
programs	O
necessary	O
for	O
run-time	O
functioning	O
of	O
the	O
packaging	O
system	O
,	O
including	O
dpkg-deb	B-Language
,	O
dpkg-split	O
,	O
dpkg-query	O
,	O
dpkg-statoverride	O
,	O
dpkg-divert	O
and	O
dpkg-trigger	O
.	O
</s>
<s>
The	O
install-info	B-Language
program	O
used	O
to	O
be	O
included	O
as	O
well	O
,	O
but	O
was	O
later	O
removed	O
as	O
it	O
is	O
now	O
developed	O
and	O
distributed	O
separately	O
.	O
</s>
<s>
The	O
Debian	O
package	B-Application
"	O
dpkg-dev	O
"	O
includes	O
the	O
numerous	O
build	O
tools	O
described	O
below	O
.	O
</s>
<s>
The	O
first	O
attempt	O
at	O
a	O
package	B-Application
management	I-Application
system	I-Application
was	O
possibly	O
the	O
development	O
of	O
StopAlop	O
by	O
Greg	O
Wettstein	O
at	O
the	O
Roger	O
Maris	O
Cancer	O
Center	O
in	O
Fargo	O
,	O
North	O
Dakota	O
.	O
</s>
<s>
It	O
provided	O
inspiration	O
for	O
the	O
creation	O
of	O
dpkg	B-Language
.	O
</s>
<s>
dpkg	B-Language
was	O
originally	O
created	O
by	O
Ian	O
Murdock	O
in	O
January	O
1994	O
as	O
a	O
Shell	B-Language
script	I-Language
.	O
</s>
<s>
Matt	O
Welsh	O
,	O
Carl	O
Streeter	O
and	O
Ian	O
Murdock	O
then	O
rewrote	O
it	O
in	O
Perl	B-Language
,	O
and	O
then	O
later	O
the	O
main	O
part	O
was	O
rewritten	O
in	O
C	B-Language
by	O
Ian	O
Jackson	O
in	O
1994	O
.	O
</s>
<s>
The	O
name	O
dpkg	B-Language
was	O
originally	O
a	O
shortening	O
of	O
"	O
Debian	O
package	B-Application
"	O
,	O
but	O
the	O
meaning	O
of	O
that	O
phrase	O
has	O
evolved	O
significantly	O
,	O
as	O
dpkg	B-Language
the	O
software	O
is	O
orthogonal	O
to	O
the	O
deb	O
package	B-Application
format	O
as	O
well	O
as	O
the	O
Debian	O
Policy	O
Manual	O
which	O
defines	O
how	O
Debian	O
packages	O
behave	O
in	O
Debian	O
.	O
</s>
<s>
To	O
install	O
a	O
.deb	O
package	B-Application
:	O
</s>
<s>
where	O
filename.deb	O
is	O
the	O
name	O
of	O
the	O
Debian	O
package	B-Application
(	O
such	O
as	O
pkgname_0.00-1_amd64.deb	O
)	O
.	O
</s>
<s>
To	O
remove	O
an	O
installed	O
package	B-Application
:	O
</s>
<s>
dpkg-dev	O
contains	O
a	O
series	O
of	O
development	O
tools	O
required	O
to	O
unpack	O
,	O
build	O
and	O
upload	O
Debian	O
source	O
packages	O
.	O
</s>
<s>
dpkg-source	O
packs	O
and	O
unpacks	O
the	O
source	O
files	O
of	O
a	O
Debian	O
package	B-Application
.	O
</s>
<s>
dpkg-gencontrol	O
reads	O
the	O
information	O
from	O
an	O
unpacked	O
Debian	O
tree	O
source	O
and	O
generates	O
a	O
binary	O
package	B-Application
control	O
package	B-Application
,	O
creating	O
an	O
entry	O
for	O
this	O
in	O
Debian/files	O
.	O
</s>
<s>
dpkg-shlibdeps	O
calculates	O
the	O
dependencies	O
of	O
runs	O
with	O
respect	O
to	O
libraries	O
.	O
</s>
<s>
dpkg-genchanges	O
reads	O
the	O
information	O
from	O
an	O
unpacked	O
Debian	O
tree	O
source	O
that	O
once	O
constructed	O
creates	O
a	O
control	O
file	O
(	O
.changes	O
)	O
.	O
</s>
<s>
dpkg-buildpackage	O
is	O
a	O
control	O
script	O
that	O
can	O
be	O
used	O
to	O
construct	O
the	O
package	B-Application
automatically	O
.	O
</s>
<s>
dpkg-distaddfile	O
adds	O
a	O
file	O
input	O
to	O
debian/files	O
.	O
</s>
<s>
dpkg-parsechangelog	O
reads	O
the	O
changes	O
file	O
(	O
changelog	O
)	O
of	O
an	O
unpacked	O
Debian	O
tree	O
source	O
and	O
creates	O
a	O
conveniently	O
prepared	O
output	O
with	O
the	O
information	O
for	O
those	O
changes	O
.	O
</s>
<s>
The	O
dpkg	B-Language
database	O
is	O
located	O
under/var/lib/dpkg	O
;	O
the	O
"	O
status	O
"	O
file	O
contains	O
the	O
list	O
of	O
installed	O
software	O
on	O
the	O
current	O
system	O
.	O
</s>
<s>
There	O
is	O
no	O
information	O
about	O
repositories	B-Application
in	O
this	O
database	O
.	O
</s>
<s>
wpkg	O
was	O
created	O
as	O
a	O
dpkg	B-Language
look-alike	O
that	O
would	O
run	O
under	O
the	O
Microsoft	B-Application
Windows	I-Application
operating	I-Application
system	I-Application
.	O
</s>
<s>
It	O
subsequently	O
evolved	O
to	O
include	O
functionality	O
similar	O
to	O
parts	O
of	O
the	O
APT	B-Application
suite	O
,	O
improved	O
repository	O
management	O
,	O
distribution	O
management	O
and	O
was	O
ported	O
to	O
Linux	B-Application
and	O
Unix-like	B-Operating_System
systems	I-Operating_System
,	O
including	O
Cygwin	B-Language
,	O
Mingw32	B-Application
,	O
macOS	B-Application
,	O
OpenSolaris	B-Operating_System
and	O
FreeBSD	B-Operating_System
.	O
</s>
