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.

  • How did you install? What have you tried?
    – Mitch
    Aug 12, 2012 at 10:21
  • No need to Re-Install entire Ubuntu OS for Truecrypt , please provide info as in above asked by Mitch.
    – atenz
    Aug 12, 2012 at 12:25
  • I downloaded Truecrypt for linux, 32 bit. Following various methods, I checked "open with archive manager" or "save file", then on Ubuntu 12.04 I tried "run in terminal" or "run". I am not new to Truecrypt and in all cases I followed all instructions. Nothing worked even though the advice was for other people and it worked for them. I shoul add that I uninstalled Truecrypt in windows and with each failed install in Ubuntu I uninstalled the download and started over with someone else's method (as described above). Again, thank you for your help.
    – Duanek
    Aug 12, 2012 at 17:18

7 Answers 7


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

  • No longer working for me :( Jun 1, 2016 at 12:26

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:


This will install everything perfectly.


  • Thank you. I had run into problems with the other solutions (using a repository and apt-get), but this is the one solution that worked. Thank you.
    – Terry
    May 14, 2014 at 21:08

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:


For 32 bit:


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.


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 \

Change permissions for truecrypt key

$ chown 600 /etc/tc.key

Another PPA is available here.

sudo add-apt-repository ppa:stefansundin/truecrypt
sudo apt-get update
sudo apt-get install truecrypt

This version also includes an application indicator menu in the Ubuntu title bar.

At the time of this answer's last edit, the version available is 7.1a.


The latest version of TrueCrypt works perfectly on Ubuntu 12.04 and all later versions of Ubuntu provided that you install all of its required dependencies. In Ubuntu 12.04 and later, open the terminal and type.

sudo apt-get install bzr libncurses5-dev gcc debhelper devscripts dpatch

Then install TrueCrypt the usual way with tar xzvf truecrypt*.gz followed by either ./truecrypt-7.1a-setup-x64 (for 64-bit OS) or ./truecrypt-7.1a-setup-x86 (for 32-bit OS).



TrueCrypt development ended 5/2014.

VeraCrypt is a forked replacement for TrueCrypt and can be found at CodePlex. There is also a PPA available which can be found there as well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.