Se estou procurando o pacote que contém um arquivo de cabeçalho específico no Debian, posso correr apt-file search filename
para encontrar o pacote. Aqui está um exemplo:
$ apt-file search X11/Xlib.h
critcl: /usr/share/tcltk/critcl3.1.18/critcl_c/tcl8.4/X11/Xlib.h
emscripten: /usr/share/emscripten/system/include/X11/Xlib.h
ivtools-dev: /usr/include/IV-X11/Xlib.h
libghc-x11-dev: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.8.4/X11-1.9.1-HPfJisIvZwQBMLUniy0WBQ/Graphics/X11/Xlib.hi
libhugs-x11-bundled: /usr/lib/hugs/packages/X11/Graphics/X11/Xlib.hs
libnx-x11-dev: /usr/include/x86_64-linux-gnu/nx-X11/Xlib.h
libx11-dev: /usr/include/X11/Xlib.h
python-pycparser: /usr/share/python-pycparser/fake_libc_include/X11/Xlib.h
python3-pycparser: /usr/share/python3-pycparser/fake_libc_include/X11/Xlib.h
Existe algum equivalente a isso para pacman
?