# If you ever want to uninstall libmcrypt, this should do it:
cd
su
test -d src/libmcrypt-* && ( cd src/libmcrypt-* ; make uninstall )
test -d /usr/local/lib/libmcrypt && rm -r /usr/local/lib/libmcrypt
( cd /usr/local/lib ; rm -f libmcrypt.* )
rm -f /usr/local/bin/libmcrypt-config /usr/local/man/man3/mcrypt.3 \
/usr/local/share/aclocal/libmcrypt.m4
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "libmcrypt-*" -exec rm -r {} \;
rm -f ~/installed/libmcrypt-*.tar.*
# If you ever want to uninstall mcrypt, this should do it:
cd
su
test -d src/mcrypt-* && ( cd src/mcrypt-* ; make uninstall )
( cd /usr/local/bin ; rm -f mcrypt mdecrypt )
rm -f /usr/local/man/man1/mcrypt.1
find /usr/local/share/locale -type f -name mcrypt.mo -exec rm {} \;
exit
find ~/src -maxdepth 1 -type d -name "mcrypt-*" -exec rm -r {} \;
rm -f ~/installed/mcrypt-*.tar.*