2020-10-13 01:49:34 +03:30
|
|
|
# dpkg-deb
|
|
|
|
|
|
|
|
> Pack, unpack and provide information about Debian archives.
|
2024-09-18 11:00:49 +02:00
|
|
|
> More information: <https://manned.org/dpkg-deb>.
|
2020-10-13 01:49:34 +03:30
|
|
|
|
|
|
|
- Display information about a package:
|
|
|
|
|
|
|
|
`dpkg-deb --info {{path/to/file.deb}}`
|
|
|
|
|
|
|
|
- Display the package's name and version on one line:
|
|
|
|
|
|
|
|
`dpkg-deb --show {{path/to/file.deb}}`
|
|
|
|
|
|
|
|
- List the package's contents:
|
|
|
|
|
|
|
|
`dpkg-deb --contents {{path/to/file.deb}}`
|
|
|
|
|
|
|
|
- Extract package's contents into a directory:
|
|
|
|
|
|
|
|
`dpkg-deb --extract {{path/to/file.deb}} {{path/to/directory}}`
|
|
|
|
|
|
|
|
- Create a package from a specified directory:
|
|
|
|
|
|
|
|
`dpkg-deb --build {{path/to/directory}}`
|