How to find out which package contains certain file in Ubuntu/Debian

Debian, Ubuntu and derivatives

We’ll use apt-file. First install it.

apt-get install apt-file

Update its database

apt-file update

And now search for a specific file.

apt-file search [file you are looking for]

Was this helpful?

0 / 0

Cookie Consent with Real Cookie Banner