mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 14:14:17 +02:00
dpkg: add -c option (list local deb file contents)
Add example for listing package contents of a downloaded `.deb` file, because `dpkg -L` only works with the `apt` name of the package (and only when installed).
This commit is contained in:
parent
e97efdff06
commit
d769661227
1 changed files with 5 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
- Install a package:
|
||||
|
||||
`dpkg -i {{/path/to/file}}`
|
||||
`dpkg -i {{path/to/file.deb}}`
|
||||
|
||||
- Remove a package:
|
||||
|
||||
|
@ -18,6 +18,10 @@
|
|||
|
||||
`dpkg -L {{package_name}}`
|
||||
|
||||
- List contents of a local package file:
|
||||
|
||||
`dpkg -c {{path/to/file.deb}}`
|
||||
|
||||
- Find out which package owns a file:
|
||||
|
||||
`dpkg -S {{file_name}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue