0

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?

elbarna
  • 12,695

1 Answers1

5
pacman -Fy
pacman -Fs whatever_file

First command pulls the latest databases of files, second one searches for the file you are looking for(in this example whatever_file).

You may want to read here further

man0v
  • 357