From 26f036496c41d193385dc5a3463375e6f50065cf Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Fri, 14 Dec 2018 07:09:12 +0000 Subject: [PATCH] apt-file: add page (#2640) --- pages/linux/apt-file.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pages/linux/apt-file.md diff --git a/pages/linux/apt-file.md b/pages/linux/apt-file.md new file mode 100644 index 000000000..0fc9cbe32 --- /dev/null +++ b/pages/linux/apt-file.md @@ -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}}`