CentOS 6.2: mcrypt and libmcrypt not found in yum repolist

mcrypt is an encryption program which replaces old unix crypt program. The libmcrypt is the library file of mcrypt.

CentOS version 6 repolist does not maintain mcrypt and libmcrypt, if you really must use mcrypt or libmcrypt use the Fedoraproject EPEL repolist:

rpm -ivh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-7.noarch.rpm

or

rpm -ivh http://download.fedoraproject.org/pub/epel/6/i386/repoview/epel-release.html

then do yum update

You should see the libmcrypt and other mcrypt programs.

UPDATE: It seems the above link is not available, try http://mirror.nus.edu.sg/Fedora/epel/6/i386/epel-release-6-7.noarch.rpm for epel 6.

Reference: http://www.24k.com.sg/blog-64.html
Reference: http://www.thegeekstuff.com/2012/06/enable-epel-repository/

Leave a comment