2015-10-22 10:00:05 +03:00
|
|
|
# dpkg
|
2014-04-29 01:19:22 +04:00
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
> Debian package manager.
|
2014-04-29 01:19:22 +04:00
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Install a package:
|
2014-04-29 01:19:22 +04:00
|
|
|
|
|
|
|
`dpkg -i {{/path/to/file}}`
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Remove a package:
|
2014-04-29 01:19:22 +04:00
|
|
|
|
|
|
|
`dpkg -r {{package_name}}`
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- 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
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- List package contents:
|
2014-04-29 01:19:22 +04:00
|
|
|
|
|
|
|
`dpkg -L {{package_name}}`
|
2016-11-25 20:08:18 +03:00
|
|
|
|
2017-01-02 20:36:30 +03:00
|
|
|
- Find out which package owns a file:
|
2016-11-25 20:08:18 +03:00
|
|
|
|
|
|
|
`dpkg -S {{file_name}}`
|