This question already has an answer here:
Question is really simple: I want to get the package which contain a file,in this example I will use "ifconfig".
On Centos I use
yum --whatprovides *bin/ifconfig
On debian I can use
apt-file search *bin/ifconfig
And on Archlinux with pacman?