On-the-fly encryption software which can create a virtual encrypted disk within a file and mount it as a real disk. It can also encrypt a hard disk partition or storage device, such as USB flash drive. Moreover, TrueCrypt supports plausible deniability.


Preparing your system

You need to install the following packages

sudo apt-get install build-essential linux-headers-`uname -r` linux-source-2.6.24 libfuse-dev libgtk2.0-dev

Then create a tmp directory in your home directory

mkdir -p ~/tmp

Now download TrueCrypt source from here

Go to the path where you saved TrueCrypt source and untar the file in your ~/tmp directory

tar -zvxf TrueCrypt\ 5.1a\ Source.tar.gz -C ~/tmp

Now you should download wxAll source code. You can pick it from here

Go to the path where you saved wxAll source and untar the file in your ~/tmp directory

tar -zvxf wxWidgets-2.8.7.tar.gz -C ~/tmp

Now go to your ~/tmp/truecrypt-5.1a-source directory

cd ~/tmp/truecrypt-5.1a-source

and launch this command line

WX_ROOT=~/tmp/wxWidgets-2.8.7 make wxbuild

This will build the ./wxrelease subdirectory in the truecrypt source path. You'll probably will have some warning from the compiler, but you can safely ignore.

Once you have your shell back, launch this command line to compile truecrypt

WX_ROOT=~/tmp/wxWidgets-2.8.7 make

Probably you will get a lot of warning from the compiler, but you can ignore it. They are just warning.

Now go Main directory in TrueCrypt source

cd ~/tmp/truecrypt-5.1a-source/Main

and start truecrypt gui

./truecrypt

If everything is ok, you should have now the truecrypt gui running.

Now close you application from the Gnome notification area and copy your just compiled truecrypt binary in you /usr/local/bin directory

sudo cp ~/tmp/truecrypt-5.1a-source/Main/truecrypt /usr/local/bin/

Now you have truecrypt binary in your path so you can run it simply with

truecrypt

Now you can safely remove you working directories

rm -rf ~/tmp/truecrypt-5.1a-source ~/tmp/wxWidgets-2.8.7




0 comments: