tldr/pages/linux/dpkg.md

28 lines
380 B
Markdown
Raw Normal View History

# dpkg
2014-04-28 22:19:22 +01:00
> Debian package manager.
2014-04-28 22:19:22 +01:00
- Install a package:
2014-04-28 22:19:22 +01:00
`dpkg -i {{path/to/file.deb}}`
2014-04-28 22:19:22 +01:00
- Remove a package:
2014-04-28 22:19:22 +01:00
`dpkg -r {{package_name}}`
- List installed packages:
2014-04-28 22:19:22 +01:00
2015-09-23 11:17:08 +01:00
`dpkg -l {{pattern}}`
2014-04-28 22:19:22 +01:00
- List package contents:
2014-04-28 22:19:22 +01:00
`dpkg -L {{package_name}}`
- List contents of a local package file:
`dpkg -c {{path/to/file.deb}}`
2017-01-02 17:36:30 +00:00
- Find out which package owns a file:
`dpkg -S {{file_name}}`