Installing TrueCrypt 6.2 on CentOS 5.3
30 November -0001
TrueCrypt (http://www.truecrypt.org) is a great open source encryption package. Unfortunately installing TrueCrypt on Linux often involves building it from source. This can be quite a hassle due to the many dependencies. I've written up a short list of instructions for successfully installing TrueCrypt 6.2 on CentOS 5.3 (http://www.centos.org) to hopefully save others some of the time and hassle I had to go through to figure this out.
- Add RPMForge repositories according to instructions at http://wiki.centos.org/AdditionalResources/Repositories/RPMForge
- Install fuse and fuse-devel packages (yum install fuse fuse-devel)
- Download the TrueCrypt source packages from http://www.truecrypt.org/downloads2.
- Download the wxWidgets source (wxAll) from http://www.wxwidgets.org/downloads/
- Create a directory called pkcs11 and download all the ".h" files (cryptoki.h, ct-kip.h, otp-pkcs11.h, pkcs-11v1-20a3.h, etc.) from ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/
- Extract the wxWidgets package and install according to the install-gtk.txt file:
mkdir buildgtk cd buildgtk ../configure --with-gtk make su
make install ldconfig - Extract the TrueCrypt sources
- Build wx using:
# make WX_ROOT=/home/justin/wxWidgets-2.8.8 wxbuild
- Build TrueCrypt using:
# make PKCS11_INC=/home/justin/software/encryption/pkcs11 WXSTATIC=1
- Make sure your sudo file allows no TTY, edit /etc/sudoers and make sure to comment out or delete the line:
Defaults requiretty
- Start TrueCrypt using the file in main/ such as:
$ ~/truecrypt-6.2-source/Main/truecrypt