Tuesday, January 1, 2008

Installing Truecrypt in Kubuntu 7.04

Truecrypt is a free, open-source, multi-platform encryption program. It has worked perfectly for me in Windows XP on multiple computers. The basic concept is you create an password protected encrypted file (volume) of a specified size that holds your private data. It is mounted and treated like another drive on your computer.
Installing truecrypt on Kubuntu was really simple:

  1. Download the tarball from http://www.truecrypt.org/downloads.php to your home directory. I used truecrypt-4.3a-ubuntu-7.04-x86.tar.gz.

  2. Move the file to /usr/src/ by typing "sudo mv ~/truecrypt-4.3a-ubuntu-7.04-x86.tar.gz /usr/src"

  3. unzip and untar the file by typing "sudo tar -xvfz truecrypt-4.3a-ubuntu-7.04-x86.tar.gz"

  4. cd into the new directory and check out the Readme.txt

  5. I used the 'dpkg -i' command with no problems typing "sudo dpkg -i truecrypt_4.3a-0_i386.deb"

Pretty simple and I encountered no errors. I also added some aliases to .bashrc to quickly mount the volumes I use.

  1. Make the directory where your mounted volume will be: 'mkdir /mnt/[mount name]'

  2. Add an alias in .bashrc to mount the volume: alias mountvolA='truecrypt /media/ExternalDrive/PathToVolume/VolumeName /mnt/volA'

Next step is to figure out how to put shortcuts on the desktop to be able to easily open those mounted volumes.

No comments: