Install and Setup VeraCrypt on Linux Mint 21

|
Last Updated:
|
|

In this guide, we are going to learn how to install and setup VeraCrypt on Linux Mint 21. VeraCrypt, a fork of TrueCrypt, is a free and open source on-the-fly disk encryption (OTFE) tool.

Install and Configure VeraCrypt on Linux Mint 21

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.

You can install VeraCrypt on Linux Mint 21 using either of the method below;

  1. Using Debian/Ubuntu DEB packages.
  2. Using generic VeraCrypt Installers

Install VeraCrypt on Linux Mint using DEB Binary

There are two versions of VeraCrypt installers you can choose;

  • the GUI based installer and
  • the console based installer.

We will use the GUI based installer in this guide.

  • Download VeraCrypt GUI Installer for Ubuntu

There is no dedicated installer for Linux mint. However, since Linux Mint is part of Debian/Ubuntu family, download the current release version of VeraCrypt DEB binary for Ubuntu. We will use Ubuntu 22.04 installer.

wget https://launchpad.net/veracrypt/trunk/1.25.9/+download/veracrypt-1.25.9-Ubuntu-22.04-amd64.deb -P /tmp
  • Install VeraCrypt on Linux Mint 21

Depending on the installer you downloaded, you can use APT package manager to install.

sudo apt install /tmp/veracrypt-1.25.9-Ubuntu-22.04-amd64.deb -y

Install VeraCrypt on Linux Mint using Generic Installer

Download generic installers from the downloads page.

wget https://launchpad.net/veracrypt/trunk/1.25.9/+download/veracrypt-1.25.9-setup.tar.bz2

Extract the installer once the download is completed;

tar xjf veracrypt-1.25.9-setup.tar.bz2

Similarly, 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.

ls -1 veracrypt*
veracrypt-1.25.9-setup-console-x64
veracrypt-1.25.9-setup-console-x86
veracrypt-1.25.9-setup-gtk3-console-x64
veracrypt-1.25.9-setup-gtk3-gui-x64
veracrypt-1.25.9-setup-gui-x64
veracrypt-1.25.9-setup-gui-x86
veracrypt-1.25.9-setup.tar.bz2

You can choose which one to use for installation;

Example of using GUI based installer;

sudo apt install dbus-x11
sudo ./veracrypt-1.25.9-setup-gui-x64

Click Install VeraCrypt in the installation wizard that pops up, accept the End User License Agreement and click Ok to install VeraCrypt.

Install and Setup VeraCrypt on Linux Mint

If you want to use the console installer, then execute the command;

sudo ./veracrypt-1.25.9-setup-console-x64

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

VeraCrypt 1.25.9 Setup
____________________


Installation options:

 1) Install veracrypt_1.25.9_console_amd64.tar.gz
 2) Extract package file veracrypt_1.25.9_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/share/doc/veracrypt/HTML/bank_30x30.png
usr/share/doc/veracrypt/HTML/VeraCrypt Volume Format Specification.html
usr/share/doc/veracrypt/HTML/VeraCrypt Rescue Disk.html
usr/share/doc/veracrypt/HTML/VeraCrypt128x128.png
usr/sbin/
usr/sbin/mount.veracrypt
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.

Launching VeraCrypt on Linux Mint 21

If you installed console-based VeraCrypt, you can launch it from the terminal using the veracrypt command.

veracrypt

For example, to check help page and examples on how to use veracrypt on command line;

veracrypt --help

If you installed the GUI version, you can launch it from Accessories menu.

launch veracypt from accessories

If you can’t see the icon, log out and login and check again.

Encrypt Volumes using VeraCrypt on Linux

You can encrypt files/volume devices on Linux using VeraCrypt in two ways;

Encrypt Volumes using VeraCrypt CLI tool

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

How to Use VeraCrypt on Command Line to Encrypt Drives

Encrypt Volumes using VeraCrypt GUI tool

The process of using VeraCrypt GUI to encrypt drives or volumes has been extensively described in our previous guide on how to use VeraCrypt to encrypt drives.

How to use VeraCrypt to Encrypt Drives on Linux

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

Read more on VeraCrypt Documentation page.

How to Encrypt Files and Folders with eCryptFS on Linux

Encrypt Files and Directories with eCryptFS on Ubuntu 20.04

Automount LUKS Encrypted Device in Linux

SUPPORT US VIA A VIRTUAL CUP OF COFFEE

We're passionate about sharing our knowledge and experiences with you through our blog. If you appreciate our efforts, consider buying us a virtual coffee. Your support keeps us motivated and enables us to continually improve, ensuring that we can provide you with the best content possible. Thank you for being a coffee-fueled champion of our work!

Photo of author
Kifarunix
Linux Certified Engineer, with a passion for open-source technology and a strong understanding of Linux systems. With experience in system administration, troubleshooting, and automation, I am skilled in maintaining and optimizing Linux infrastructure.

Leave a Comment