How do I install Truecrypt?

I have a Windows 7 machine with Truecrypt. I installed Ubuntu 12.04 with the intention of converting to an Ubuntu only machine but I can't install Truecrypt on Ubuntu.

I have been looking through the forums and have followed all advice to the letter and still Truecrypt doesn't work; I have only a non-functional icon in "dash". Should I uninstall Ubuntu and start over (ie reinstall)? I love Ubuntu and greatly appreciate your efforts on this forum.


Solution 1:

If you prefer to install from a ppa you can use this one for Ubuntu 12.04:

sudo add-apt-repository ppa:michael-astrapi/ppa
sudo apt-get update && sudo apt-get install truecrypt

And to remove it:

sudo apt-get install ppa-purge
sudo ppa-purge ppa:michael-astrapi/ppa

In the past others have used different PPA: link here

Solution 2:

I had similar issues on ubuntu 12.04 & installing truecrypt 7.1

however finally what worked was simply:

tar xzvf truecrypt*.gz  
  • this extracted the file truecrypt-7.1a-setup-x86 in the same directory.

Then I ran the command:

./truecrypt-7.1a-setup-x86

This will install everything perfectly.

sunil

Solution 3:

I'll break it down, although I'm verbose, this is the simplest way.

Go to http://www.truecrypt.org/downloads

Scroll down to Linux and select the Standard version that matches your bit depth (32-bit or 64-bit) and download it.

After the download completes, Double click on the downloaded file and it should automatically open with the Archive Manager.

At the top of the Archive Manager, click Extract and select a destination folder, I picked Downloads

Press the Start button on your keyboard (The button between the left Ctrl & Alt) and type the word Terminal and press the enter key.

Here you will type commands inside terminal: You'll need to Change Directory (CD) to where you extracted the truecrypt setup file, if you followed my example, it would be this (note your path is case sensitive):

cd Downloads

To start the install, highlight and copy one of these commands and paste it into the Terminal window. (to paste, right click and select paste).

For 64 bit:

./truecrypt-7.1a-setup-x64

For 32 bit:

./truecrypt-7.1a-setup-x86

You then shuold get a xmessage window with an option at the bottom to Install TrueCrypt, click it.

The next window will be an xmesssage License message, click I accept and agree to be bound by the license terms

The next window will tell you how to uninstall it, if you don't plan on uninstalling it, you can skip this information.

The last window will be titled TrueCrypt Setup and have the information where it installed and will finish with Press Enter to exit... I recommend you press enter.

You're done.

Press the Start button again and type TrueCrypt, (capitalization unimportant) and press enter to open

Tip: If you want it on your unit bar, simply use your mouse to drag the TrueCrypt icon to your unity bar.

Note: if you have an unconventional keyboard layout with no 'Start' you could open Terminal from the 'Dash Home' in the side-bar.

Solution 4:

To install Truecrypt from http://namhuy.net/889/how-to-install-truecrypt-on-ubuntu.html

$ wget http://www.truecrypt.org/download/truecrypt-7.1a-linux-x86.tar.gz
$ tar xzvf truecrypt*.tar.gz
$ ./truecrypt-7.1a-setup-x86

Create truecrypt key:

$ truecrypt --create-keyfile /etc/tc.key \
--hash=Whirlpool \
--random-source=/dev/urandom

Change permissions for truecrypt key

$ chown 600 /etc/tc.key