How to Install VeraCrypt on Ubuntu 22.10/22.04/20.04

VeraCrypt is a free, open-source, cross-platform data encryption tool available for all major operating systems and a popular choice among Linux users. It is an alternative to TrueCrypt, the popular encryption tool discontinued in 2014. VeraCrypt is easy to use and offers a variety of features that make it an excellent choice for encrypting data.

One of the best features of VeraCrypt is that it can be used to encrypt entire partitions or disks, making it ideal for protecting sensitive data. VeraCrypt offers three levels of encryption: standard, hidden, and plausible deniability which allows the user to choose the level of security that best suits their needs and is highly customizable, allowing users to select from various options when encrypting their data.

The following tutorial will teach you how to install VeraCrypt on Ubuntu 22.10, 22.04, and 20.04 Linux using a LaunchPAD APT PPA with the command line terminal using a popular LaunchPAD PPA.

Important Notice

The following tutorial was done with a Ubuntu 22.04 LTS release, and example images were taken. Still, it was tested on Ubuntu 20.04 and Ubuntu 22.10. In the future, if Ubuntu makes any changes to break the tutorial for one of the distribution versions, please place a comment for me to investigate so I can update the tutorial.

Recommended Steps Before Installation

Before proceeding with the tutorial, ensuring your system is up-to-date with all existing packages is good.

sudo apt update

Optionally, you can list the updates for users who require review or are curious.

sudo apt --list upgradable

Proceed to upgrade any outdated packages using the following command.

sudo apt upgrade

Install VeraCrypt on Ubuntu Linux

The best APT package manager method is to import and install the PPA by Unit 193.

First, install the required packages.

sudo apt install dirmngr ca-certificates software-properties-common apt-transport-https -y

For users who have not previously imported a GPG key from the Ubuntu keyserver, the command line terminal will often have issues importing GPG keys from LaunchPAD PPAs because the directories are not created. This is an easy fix. Use the following command that will, in turn, generate the directories.

This can be skipped, but if you encounter an issue, just run the command and re-try.

sudo gpg --list-keys

Example output:

gpg: directory '/root/.gnupg' created
gpg: keybox '/root/.gnupg/pubring.kbx' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created

Next, import the GPG key.

sudo gpg --no-default-keyring --keyring /usr/share/keyrings/encryption.gpg --keyserver --recv-keys 3BFB8E06536B8753AC58A4A303647209B58A653A

Example output:

gpg: key 03647209B58A653A: public key "Launchpad PPA for Unit 193" imported
gpg: Total number processed: 1
gpg:               imported: 1

Now import the APT repository using the following command. Remember, each Ubuntu version maintained will have a different repository.

Import Ubuntu 22.10 Veracrypt Repository:

echo 'deb [signed-by=/usr/share/keyrings/encryption.gpg] kinetic main' | sudo tee -a /etc/apt/sources.list.d/encryption.list

Import Ubuntu 22.04 Veracrypt Repository:

echo 'deb [signed-by=/usr/share/keyrings/encryption.gpg] jammy main' | sudo tee -a /etc/apt/sources.list.d/encryption.list

Import Ubuntu 20.04 Veracrypt Repository:

echo 'deb [signed-by=/usr/share/keyrings/encryption.gpg] focal main' | sudo tee -a /etc/apt/sources.list.d/encryption.list

Before you continue, run an APT update to reflect the newly imported PPA.

sudo apt update

Now install the application.

sudo apt-get install veracrypt -y

Launch VeraCrypt on Ubuntu Linux

Launching can be done in a few ways now that you have the software installed.

First, the software can be launched using the following command.


Most desktop users may use the application icon to open the software, which can be achieved using the following path.

Activities > Show Applications> VeraCrypt.


launch veracrypt on ubuntu 22.10,22.04,20.04 linux desktop from the application menu

Once open, you can begin to use the disk encryption software. First-time users, I highly recommend visiting the official documentation as even though the program GUI is straightforward, you may miss certain features that may be helpful.


example of veracrypt launched on ubuntu 22.10,22.04,20.04 linux desktop


How to Install VeraCrypt on Ubuntu 22.04 LTS

Update VeraCrypt on Ubuntu Linux

The best method to ensure your installation is up-to-date is to open the command line terminal and run the following command.

sudo apt upgrade && sudo apt upgrade

The command will also ensure all other packages that use the APT package manager, including your system packages, are up-to-date. I suggest that users new to Linux run this command frequently to ensure your system works as intended, even if you have automatic GUI updates or notifications.

Remove VeraCrypt on Ubuntu Linux

Use one of the following commands to suit the original installation method for users who no longer require the application.

sudo apt-get install veracrypt --purge -y

Next, you should remove the PPA for users who will not use the software again.

sudo rm /etc/apt/sources.list.d/veracrypt.list

The above commands will work for all versions of Ubuntu.

Not what you were looking for? Try searching for additional tutorials.

Leave a Comment