projects
/
wiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4772488
)
ubuntu: look up package by file
author
Philip Durbin
<philipdurbin@gmail.com>
Wed, 17 Apr 2019 11:40:42 +0000
(07:40 -0400)
committer
Philip Durbin
<philipdurbin@gmail.com>
Wed, 17 Apr 2019 11:40:42 +0000
(07:40 -0400)
ubuntu.mdwn
patch
|
blob
|
history
diff --git
a/ubuntu.mdwn
b/ubuntu.mdwn
index
7080e1e
..
eae7123
100644
(file)
--- a/
ubuntu.mdwn
+++ b/
ubuntu.mdwn
@@
-15,6
+15,12
@@
https://help.ubuntu.com/community/AptGet/Howto
# show files owned by a package
dpkg --listfiles package_name
+ # show which package owns a file
+ dpkg -S /usr/bin/pdftoppm
+
+ # show which package will own a file
+ apt-file find /usr/bin/convert
+
# resynchronize the package index files from their sources
apt-get update