Install Apt-file On A Debian, Ubuntu, Kali And Raspbian

Install Apt-file On A Debian, Ubuntu, Kali And Raspbian

apt-file

Search for files in apt packages, including ones not yet installed.

Maintainer: APT Development Team


Section: admin

Install apt-file

  • Debian apt-get install apt-file Click to copy
  • Ubuntu apt-get install apt-file Click to copy
  • Kali Linux apt-get install apt-file Click to copy
  • Raspbian apt-get install apt-file Click to copy

Search for files in apt packages, including ones not yet installed.

How to use apt-file?

Below are few example commands for apt-file that you can use in the terminal.

Update the metadata database:
sudo apt updateClick to copy
Search for packages that contain the specified file or path:
apt-file search part/of/filenameClick to copy
List the contents of a specific package:
apt-file list package_nameClick to copy
Installation of latest apt-file command is available for Debian, Ubuntu, Kali and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.