User ID: mio
Subject: Devuan/Debian Find Package Containing File

Occasionally, I need to install a package which provides a certain library or header file, and the package name isn't immediately obvious.

Enter apt-file(1):

$ apt-file search oniguruma.pc
libonig-dev: /usr/lib/x86_64-linux-gnu/pkgconfig/oniguruma.pc
librust-onig-sys-dev: /usr/share/cargo/registry/onig_sys-69.5.1/oniguruma/oniguruma.pc.cmake.in
librust-onig-sys-dev: /usr/share/cargo/registry/onig_sys-69.5.1/oniguruma/oniguruma.pc.in