I don't know which version of Centos you have, but try with Bioconda. Unless your Centos is extremely outdated (<= Centos 6), it should be the easiest way. For step-by-step instructions follow the Bioconda documentation.
If you are running an unsupported version of Centos (<=6) with glibc version < 2.14 you cannot run most recent software. Besides, you are facing a security hazard (no security updates). Update to at least Centos 7.