Determine which package provides a command

Redhat/Centos (yum)

yum provides */filename

Ubuntu/Debian (apt)

apt-file update
apt-file search filename