[CentOS] Best way to install mock package

Sun Dec 1 20:47:32 UTC 2013
Justin Scott <leviathan at darktech.org>

> Newcomer to Linux and Centos 6.4. What would be the best way to install
> mock on my Centos server? yum install mock does not recognize the
> package. Have already installed 'Developer tools' using yum groupinstall.

It looks like it's available in the EPEL repository.  Assuming CentOS 6:

# wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
# rpm -i epel-release-6-8.noarch.rpm

Then re-run your yum search or install.

For CentOS 5 use this URL instead:
http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm


-Justin