mirror of https://github.com/CrimsonTome/tldr.git
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}}`
|