1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-28 06:15:26 +02:00
tldr/pages/linux/dpkg-deb.md

25 lines
624 B
Markdown
Raw Normal View History

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