Install and Setup VeraCrypt on Ubuntu 20.04

0
2223

In this guide, we are going to learn 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.

Some of the main features offered by VeraCrypt include;

  • Creates a virtual encrypted disk within a file and mounts it as a real disk.
  • Encrypts an entire partition or storage device such as USB flash drive or hard drive.
  • Encrypts a partition or drive where Windows is installed (pre-boot authentication).
  • Encryption is automaticreal-time(on-the-fly) and transparent.
  • Parallelization and pipelining allow data to be read and written as fast as if the drive was not encrypted.
  • Encryption can be hardware-accelerated on modern processors.
  • Provides plausible deniability, in case an adversary forces you to reveal the password: Hidden volume (steganography) and hidden operating system.

Read more about VeraCrypt on their documentation page.

Install and Setup VeraCrypt on Ubuntu 20.04

There are multiple ways in which one can install VeraCrypt on Ubuntu 20.04;

Install VeraCrypt on Ubuntu 20.04 Using VeraCrypt Installer Scripts

VeraCrypt provide installer scripts on their downloads page which makes the install as easy as executing the script.

Grab the installer download link from the download’s page above and pull it using wget or any of your preferred tools;

wget https://launchpad.net/veracrypt/trunk/1.24-update4/+download/veracrypt-1.24-Update4-setup.tar.bz2

Extract the installer script once the download is complete;

tar xjf veracrypt-1.24-Update4-setup.tar.bz2

There are two types of installers, GUI based and the console based Installers for both x86 and x86_64 systems that are extracted to the current working directory.

To install console based VeraCrypt for for x86_64 system to install VeraCrypt on Ubuntu 20.04;

./veracrypt-1.24-Update4-setup-console-x64

To install GUI based VeraCrypt for for x86_64 system to install VeraCrypt on Ubuntu 20.04;

./veracrypt-1.24-Update4-setup-gui-x64

Once the installer runs, you are prompted to choose the installation option. Select option 1 to install VeraCrypt.

VeraCrypt 1.24-Update4 Setup
____________________


Installation options:

 1) Install veracrypt_1.24-Update4_console_amd64.tar.gz
 2) Extract package file veracrypt_1.24-Update4_console_amd64.tar.gz and place it to /tmp

To select, enter 1 or 2: 1

Before you can use, extract, or install VeraCrypt, you must accept the
terms of the VeraCrypt License.

Press Enter to display the license terms...

Press ENTER and go through the EULA and accept it to proceed with installation.

...
Do you accept and agree to be bound by the license terms? (yes/no): yes

Once the installation is done, press ENTER to exit the installer;

...
usr/bin/
usr/bin/veracrypt-uninstall.sh
usr/bin/veracrypt
Press Enter to exit…

VeraCrypt is now installed and placed under, /usr/bin/veracrypt.

You can uninstall VeraCrypt using the usr/bin/veracrypt-uninstall.sh script.

Install VeraCrypt Using DEB binary Package

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;

wget https://launchpad.net/veracrypt/trunk/1.24-update4/+download/veracrypt-console-1.24-Update4-Ubuntu-19.10-amd64.deb

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

Install VeraCrypt from Unit193 PPA Repos

Unit193 provides PPA repos for encryption tools from where you can install VeraCrypt. To install these PPA repos;

add-apt-repository ppa:unit193/encryption --yes

Once installed, update system package cache and install VeraCrypt on Ubuntu 20.04;

apt update
apt install veracrypt

This installs both GUI and console based VeraCrypt.

Launching VeraCrypt on Ubuntu 20.04

If you installed console-based VeraCrypt, you can launch it from the terminal using the veracrypt command. For example, to check help page and examples on how to use veracrypt on command line;

veracrypt --help

Check our guide on how to use VeraCrypt on command line to encrypt drives;

How to Use VeraCrypt on Command Line to Encrypt Drives

If you installed the GUI version, you can launch it from system activities.

Install and Setup VeraCrypt on Ubuntu 20.04

Now that VeraCrypt is installed, how can I encrypt drives using VeraCrypt? This process has been extensively described in our previous guide on how to use veracrypt to encrypt drives.

How to use VeraCrypt to Encrypt Drives on Ubuntu

That is how easy it is to install and setup VeraCrypt on Ubuntu 20.04. Feel free to explore this awesome tool.

Read more on VeraCrypt Documentation page.

Related Tutorials

Encrypt Emails using Enigmail on Thunderbird

Install and Use VeraCrypt to Encrypt Drives on Ubuntu 18.04

How to Encrypt Files and Folders with eCryptFS on Ubuntu 18.04

Install and Setup OpenVPN Server on Ubuntu 20.04

LEAVE A REPLY

Please enter your comment!
Please enter your name here