mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-01 05:55:31 +02:00
apt-file: add page (#2640)
This commit is contained in:
parent
86bd04e1a8
commit
26f036496c
1 changed files with 15 additions and 0 deletions
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…
Add table
Reference in a new issue