Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to compile mcrypt on my server to get the PHP ecommerce software package "Magento" to work correctly. Unfortunately libmcrypt is not available via the default CentOS repo, and I don't feel comfortable following the steps outlined @ CentOS wiki.

I am quite comfortable compiling libraries manually, but I can't seem to find a trusted source from which to download the libmcrypt source file. I did come across the file @ sourceforge, but when I attempt to compile, it complained that it couldn't find a local install of libmcrypt.

Where can I get the libmcrypt source files, from a trusted source?

share|improve this question
up vote 2 down vote accepted

I believe mcrypt and libmcrypt is available on EPEL.

To set up the EPEL repo, look at:

It should be considered relatively trustworthy, in that it's part of the Fedora project.

Here's the link to the libmcrypt RPM (if, for some reason, you want to install the RPM directly without activating the repo):

The URL will be similar to the mcrypt package.

share|improve this answer
Thanks man, I will check this out. – Mike Purcell Mar 3 '12 at 4:06
Setting up to use EPEL worked. Thanks. – Mike Purcell Mar 7 '12 at 4:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.