How to Install TrueCrypt on Linux

What Do I Need?

  • A Dedicated or VPS Linux Server
  • Ubuntu

What is TrueCrypt?

TrueCrypt is an open-source, on-the-fly encryption system that ceased further development and maintenance by its creators in June 2014. This, however, hasn’t stopped this from becoming one of the more popular encryption systems for Linux, despite its subsequent deprecation. Still, an independent audit conducted in 2015 didn’t find any significant flaws present.

  1. Install TrueCrypt on Ubuntu


    You can simply install TrueCrypt in Ubuntu by adding the appropriate packages.
  1. Open Terminal and add the package using the following commands:
sudo add-apt-repository ppa:stefansundin/truecrypt

  1. Update your local repositories list and install TrueCrypt:
sudo apt-get update$ sudo apt-get install truecrypt

  1. Encrypt Files and Folders with TrueCrypt
  1. Now that you’ve successfully installed TrueCrypt you can easily launch it from the system menu:

How to Install TrueCrypt on Linux

  1. You’ll be greeted with the main dialog window:

How to Install TrueCrypt on Linux

  1. There are many options. The way in which TrueCrypt works is that it makes a place on your hard disk drive where you can store all of your files securely and fully encrypted. These virtual drives show as files on your system; this is where all of your encrypted files are stored. This is called a ‘container’. A ‘container’ is essentially a folder where you keep all of your files that you need encrypting.
  2. Select a drive or ‘Volume’ and click ‘Create Volume’.

How to Install TrueCrypt on Linux

  1. There are only two options. The first option is ‘Create an encrypted file container’. This will create a folder that stores all of your encrypted files. The second option is ‘Create a volume within a partition/drive’. This option will encrypt any external hard disk drive or USB stick, etc. Select the first option to encrypt local files and folders and press ‘Next’.

How to Install TrueCrypt on Linux

  1. The next dialog presents another two options. Select the first option for a normal TrueCrypt volume; otherwise, select the second option for the setting of specific conditions. If you want to be really sneaky you can create a ‘Hidden TrueCrypt Volume’, however, that’s something we can talk about another day.

How to Install TrueCrypt on Linux

  1. Give your ‘container’ a name and select an appropriate location to store it.

How to Install TrueCrypt on Linux

  1. Next, select the type of encryption algorithm you want to use for your specific use case. I’d recommend a standard project using AES as this is a standard recognized by most government agencies. Select the ‘Hash Algorithm’, specifically, SHA-512.

How to Install TrueCrypt on Linux

  1. Finally, specify the size of the ‘container’. A ‘container’ of 2GB can contain 2GB of files encrypted. Specify any size for your specific use case.

How to Install TrueCrypt on Linux

  1. After clicking ‘Next’, you’ll get to a password creation dialog. The password should be a minimum of 20 mixed-case, alphanumeric characters. There’s also an option for creating a ‘keyfile’. A ‘keyfile’ is essentially a text file that you upload when you want to decrypt your files.

How to Install TrueCrypt on Linux

  1. Next, select the partition type. I recommend using Linux Ext4 as it’s faster. However, this is only a suggestion.

How to Install TrueCrypt on Linux

  1. Select support. Do you want to only use this ‘container’ on a Linux system, or do you want it to be platform agnostic? Again, this is dependent on your particular use case.

How to Install TrueCrypt on Linux

  1. Now, we’re going to create some random data. We’re seeking to achieve entropy in order to provide better randomization of key data for generation. We do this by moving our mouse around – the more erratic and random in movement the better.

How to Install TrueCrypt on Linux

  1. Click ‘Format’ and now you’ve successfully created your first mountable encrypted ‘container’ for secure file storage.
  2. It’s just a simple case of dragging and dropping files you want to be encrypted into your mounted container.

Next Steps

You’ve now got something very useful for your secure file storage needs. I’d recommend practicing opening and closing, mounting and unmounting your encrypted drive, so you get used to the idiosyncrasies of activation and usage.

Conclusion

TrueCrypt to this day is still one of the best encryption systems because it’s fully open-source, making it fairly simple and easy to update and upgrade the core software to fit your specific encryption needs. Simple and versatile. Awesome.

  • Check the recommendations for the best VPS and get a suitable one.

How To Set up a VSFTPD Server on a CentOS 7 VPS or Dedicated Server

Brief Description FTP is usually insecure exposing clear-text passwords, userna
2 min read
Avi Ilinsky
Avi Ilinsky
Hosting Expert

How To Set up a VSFTPD Server on an Ubuntu 16.04 VPS or Dedicated Server

Brief Description FTP data is usually insecure since information (usernames, pa
2 min read
Eliran Ouzan
Eliran Ouzan
Web Designer & Hosting Expert

How to use phpMyAdmin to develop a website (without MySQL experience)

Brief description A web developer who is not well versed into coding websites f
2 min read
Idan Cohen
Idan Cohen
Marketing Expert

How to Install MySQL on a Windows Web Server Running Apache

This tutorial will show you how to install the MySQL database on a Windows serve
3 min read
Michael Levanduski
Michael Levanduski
Expert Hosting Writer & Tester
HostAdvice.com provides professional web hosting reviews fully independent of any other entity. Our reviews are unbiased, honest, and apply the same evaluation standards to all those reviewed. While monetary compensation is received from a few of the companies listed on this site, compensation of services and products have no influence on the direction or conclusions of our reviews. Nor does the compensation influence our rankings for certain host companies. This compensation covers account purchasing costs, testing costs and royalties paid to reviewers.