This guide will go through installing TrueCrypt encryption software from a terminal in order to install the command line version (in cases were desktop access is unavailable) and as a GUI for users that require a simple working interface.
Installing Command Line Version (from terminal)
Go to download page and download the “Mac OS X/Linux” version
The required software for building TrueCrypt are listed below:
- GNU Make – GNU C++ Compiler 4.0 or compatible
- FUSE library and header files (available at http://fuse.sourceforge.net and http://code.google.com/p/macfuse)
- RSA Security Inc. PKCS #11 Cryptographic Token Interface (Cryptoki) 2.20 header files (available at ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20) located in a standard include path or in a directory defined by the environment variable ‘PKCS11_INC’.
Install them using the following:
apt-get install g++ pkg-config libfuse-dev libfuse2 fuse-utils
Make sure the fuse module is added to your kernel and that it is loaded every time your system starts. You can do that by editing the /etc/modules file and appending “fuse” (without quotes) to it. Finally, extract the tar.gz archive.
sudo modprobe fuse
sudo nano /etc/modules
su echo fuse >> /etc/modules
tar xvf TrueCrypt\ 6.1a\ Source.tar.gz
make NOGUI=1 WXSTATIC=1
In case of a compile error which refers to missing file “pkcs11.h” you can download it manually using:
Finally you can copy the executable to /usr/local/bin by:
cp Main/truecrypt /usr/local/bin/
Installing GUI Version
Installing the GUI version is extremely simple. Get/extract/execute the file using:
tar xvf truecrypt-6.1a-ubuntu-x86.tar.gz
tar xvf truecrypt-6.1a-ubuntu-x64.tar.gz