Find which Linux package provides a program or file

The examples below are for Ubuntu, but equivalents may be found for Debian Gentoo Arch Linux and other distros.


Select “Search the content of Packages” in the Ubuntu Package Search, to find which packages provide a file for specific Ubuntu versions. This is important for files that aren’t available in your Ubuntu version.

Example: search for core/dbus/dbus.h shows it’s in libdbus-cpp-dev.


This example shows which versions Fortran open-coarrays is available in. Search source package names open-coarrays