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]

Discover more from Master the Math

Subscribe to get the latest posts sent to your email.

Scroll to Top
Cookie Consent with Real Cookie Banner