1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/dpkg.md

30 lines
535 B
Markdown
Raw Normal View History

# dpkg
2014-04-29 01:19:22 +04:00
> Debian package manager.
> Some subcommands such as `dpkg deb` have their own usage documentation.
> More information: <https://manpages.debian.org/buster/dpkg/dpkg.1.en.html>.
2014-04-29 01:19:22 +04:00
- Install a package:
2014-04-29 01:19:22 +04:00
`dpkg -i {{path/to/file.deb}}`
2014-04-29 01:19:22 +04:00
- Remove a package:
2014-04-29 01:19:22 +04:00
`dpkg -r {{package_name}}`
- List installed packages:
2014-04-29 01:19:22 +04:00
2015-09-23 13:17:08 +03:00
`dpkg -l {{pattern}}`
2014-04-29 01:19:22 +04:00
- List a package's contents:
2014-04-29 01:19:22 +04:00
`dpkg -L {{package_name}}`
- List contents of a local package file:
`dpkg -c {{path/to/file.deb}}`
2017-01-02 23:06:30 +05:30
- Find out which package owns a file:
`dpkg -S {{filename}}`