mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-12 04:54:52 +03:00
24 lines
303 B
Markdown
24 lines
303 B
Markdown
# dpkg
|
|
|
|
> Debian package manager.
|
|
|
|
- Install a package:
|
|
|
|
`dpkg -i {{/path/to/file}}`
|
|
|
|
- Remove a package:
|
|
|
|
`dpkg -r {{package_name}}`
|
|
|
|
- List installed packages:
|
|
|
|
`dpkg -l {{pattern}}`
|
|
|
|
- List package contents:
|
|
|
|
`dpkg -L {{package_name}}`
|
|
|
|
- Find out which package owns a file:
|
|
|
|
`dpkg -S {{file_name}}`
|