Links: Homepage | Downloads
Dependencies: None
Version: 2.5.8
LibMCrypt is a standardized library to MCrypt — which replaced the old Unix crypt() package. Dependency for compiling PHP.
Get the Code
Switch to /usr/local/src
and download the source package.
cd /usr/local/src
curl --location --output libmcrypt-VERSION.tar.gz http://downloads.sourceforge.net/project/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz
Extract the archive and move into the folder.
tar -xzvf libmcrypt-VERSION.tar.gz
cd libmcrypt-VERSION
Compile and Install
Configure, compile and install into /usr/local/libmcrypt-VERSION
.
./configure --prefix=/usr/local/libmcrypt-VERSION
make
make install
Create a symbolic link that points /usr/local/libmcrypt
to /usr/local/libmcrypt-VERSION
.
ln -s libmcrypt-VERSION /usr/local/libmcrypt