mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-20 08:17:53 +03:00
apt-file: add page (#2640)
This commit is contained in:
parent
86bd04e1a8
commit
26f036496c
15
pages/linux/apt-file.md
Normal file
15
pages/linux/apt-file.md
Normal file
@ -0,0 +1,15 @@
|
||||
# apt-file
|
||||
|
||||
> Search for files in apt packages, including ones not yet installed.
|
||||
|
||||
- Update the metadata database:
|
||||
|
||||
`sudo apt update`
|
||||
|
||||
- Search for packages that contain the specified file or path:
|
||||
|
||||
`apt-file search {{part/of/filename}}`
|
||||
|
||||
- List the contents of a specific package:
|
||||
|
||||
`apt-file list {{package_name}}`
|
Loading…
Reference in New Issue
Block a user