This article covers how to Install and Setup VeraCrypt on Ubuntu 20.04. VeraCrypt, a fork of TrueCrypt, is a free and open source on-the-fly disk encryption (OTFE) tool.
Main features offered by VeraCrypt include:
1. Creates a virtual encrypted disk within a file and mounts it as a real disk.
2. Encrypts an entire partition or storage device such as USB flash drive or hard drive.
3. Encrypts a partition or drive where Windows is installed (pre-boot authentication).
4. Encryption is automatic, real-time(on-the-fly) and transparent.
5. Parallelization and pipelining allow data to be read and written as fast as if the drive was not encrypted.
6. Encryption can be hardware-accelerated on modern processors.
7. Provides plausible deniability, in case an adversary forces you to reveal the password: Hidden volume (steganography) and hidden operating system.
To Install VeraCrypt Using DEB binary Package on Ubuntu:
Debian/Ubuntu packages for VeraCrypt are also available for download on download’s page. However, as of this writing, there is not available a binary package for Ubuntu 20.04 yet. As such, we using binary package for Ubuntu 19.04.
Note that the installers are also available, both for GUI and console based installations.
To install console-based VeraCrypt;
Then install it;
$ dpkg -i veracrypt-console-1.24-Update4-Ubuntu-19.10-amd64.deb
To install GUI based;
$ wget https://launchpad.net/veracrypt/trunk/1.24-update4/+download/veracrypt-1.24-Update4-Ubuntu-19.04-amd64.deb
Next, use APT package manager to ensure that any would-be dependency is dealt with automatically:
$ apt install ./veracrypt-1.24-Update4-Ubuntu-19.04-amd64.deb
You can uninstall GUI based VeraCrypt by executing;
$ apt remove --purge veracrypt
$ apt autoremove