{"id":5671,"date":"2020-05-02T12:28:26","date_gmt":"2020-05-02T09:28:26","guid":{"rendered":"https:\/\/kifarunix.com\/?p=5671"},"modified":"2024-03-14T20:47:37","modified_gmt":"2024-03-14T17:47:37","slug":"install-and-setup-veracrypt-on-ubuntu","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-and-setup-veracrypt-on-ubuntu\/","title":{"rendered":"Install and Setup VeraCrypt on Ubuntu 22.04\/Ubuntu 20.04"},"content":{"rendered":"\n<p>In this guide, we are going to learn how to install and setup VeraCrypt on Ubuntu 22.04\/Ubuntu 20.04. VeraCrypt, a fork of TrueCrypt, is a free and open source on-the-fly disk encryption (OTFE) tool.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installing VeraCrypt on Ubuntu 22.04\/Ubuntu 20.04<\/h2>\n\n\n\n<p>Some of the main features offered by VeraCrypt include;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Creates a&nbsp;<strong>virtual encrypted disk<\/strong>&nbsp;within a file and mounts it as a real disk.<\/li>\n\n\n\n<li>Encrypts an<strong>&nbsp;entire partition or storage device<\/strong>&nbsp;such as USB flash drive or hard drive.<\/li>\n\n\n\n<li>Encrypts a&nbsp;<strong>partition or drive where Windows is installed<\/strong>&nbsp;(pre-boot authentication).<\/li>\n\n\n\n<li>Encryption is&nbsp;<strong>automatic<\/strong>,&nbsp;<strong>real-time<\/strong>(on-the-fly) and&nbsp;<strong>transparent<\/strong>.<\/li>\n\n\n\n<li>Parallelization&nbsp;and&nbsp;pipelining&nbsp;allow data to be read and written as fast as if the drive was not encrypted.<\/li>\n\n\n\n<li>Encryption can be&nbsp;hardware-accelerated&nbsp;on modern processors.<\/li>\n\n\n\n<li>Provides&nbsp;<strong>plausible deniability<\/strong>, in case an adversary forces you to reveal the password:&nbsp;<strong>Hidden volume<\/strong>&nbsp;(steganography) and&nbsp;<strong>hidden operating system<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p>There are multiple ways in which one can install VeraCrypt on Ubuntu 22.04\/Ubuntu 20.04;<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"#debian-ubuntu-package\">Using Debian\/Ubuntu packages.<\/a><\/li>\n\n\n\n<li><a href=\"#use-generic-installer\">Using generic VeraCrypt Installers<\/a><\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"debian-ubuntu-package\">Install VeraCrypt using DEB Binary<\/h3>\n\n\n\n<p>Note that there are two versions of VeraCrypt installers you can choose; The GUI based installer and the console based installer.<\/p>\n\n\n\n<p>We will use the GUI based installer in this guide.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Download VeraCrypt GUI Installer for Ubuntu<\/li>\n<\/ul>\n\n\n\n<p>VeraCrypt provide installer scripts on their <a rel=\"noreferrer noopener\" href=\"https:\/\/www.veracrypt.fr\/en\/Downloads.html\" target=\"_blank\">downloads page<\/a> which makes the install as easy as executing the script.<\/p>\n\n\n\n<p>Grab the installer download link for Debian\/Ubuntu from the download&#8217;s page above and pull it using wget or any of your preferred tools;<\/p>\n\n\n\n<p>Ubuntu 22.04;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget https:\/\/launchpad.net\/veracrypt\/trunk\/1.25.9\/+download\/veracrypt-1.25.9-Ubuntu-22.04-amd64.deb<\/code><\/pre>\n\n\n\n<p>Ubuntu 20.04;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget https:\/\/launchpad.net\/veracrypt\/trunk\/1.25.9\/+download\/veracrypt-1.25.9-Ubuntu-20.04-amd64.deb<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Install VeraCrypt on Ubuntu 22.04\/Ubuntu 20.04<\/li>\n<\/ul>\n\n\n\n<p>Depending on the installer you downloaded, you can use APT package manager to install.<\/p>\n\n\n\n<p>Ubuntu 22.04<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install .\/veracrypt-1.25.9-Ubuntu-22.04-amd64.deb -y<\/code><\/pre>\n\n\n\n<p>Ubuntu 20.04<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install .\/veracrypt-1.25.9-Ubuntu-20.04-amd64.deb -y<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"use-generic-installer\">Install VeraCrypt using Generic Installer<\/h3>\n\n\n\n<p>Download generic installers from the downloads page.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget https:\/\/launchpad.net\/veracrypt\/trunk\/1.25.9\/+download\/veracrypt-1.25.9-setup.tar.bz2<\/code><\/pre>\n\n\n\n<p>Extract the installer once the download is completed;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tar xjf veracrypt-1.25.9-setup.tar.bz2<\/code><\/pre>\n\n\n\n<p>Similarly, there are two types of installers,&nbsp;<strong>GUI based<\/strong>&nbsp;and the&nbsp;<strong>console based<\/strong>&nbsp;Installers for both x86 and x86_64 systems that are extracted to the current working directory.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ls -1 veracrypt*<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>veracrypt-1.25.9-setup-console-x64\nveracrypt-1.25.9-setup-console-x86\nveracrypt-1.25.9-setup-gtk3-console-x64\nveracrypt-1.25.9-setup-gtk3-gui-x64\nveracrypt-1.25.9-setup-gui-x64\nveracrypt-1.25.9-setup-gui-x86\nveracrypt-1.25.9-setup.tar.bz2\n<\/code><\/pre>\n\n\n\n<p>You can choose which one to use for installation;<\/p>\n\n\n\n<p>Example of using GUI based installer;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install dbus-x11<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo .\/veracrypt-1.25.9-setup-gui-x64<\/code><\/pre>\n\n\n\n<p>Click <strong>Install VeraCrypt<\/strong> in the installation wizard that pops up, accept the End User License Agreement and click Ok to install VeraCrypt.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1001\" height=\"418\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/install-veracrypt-gui.png\" alt=\"\" class=\"wp-image-12817\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/install-veracrypt-gui.png?v=1652984214 1001w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/install-veracrypt-gui-768x321.png?v=1652984214 768w\" sizes=\"(max-width: 1001px) 100vw, 1001px\" \/><\/figure><\/div>\n\n\n<p>If you want to use the console installer, then execute the command;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo .\/veracrypt-1.25.9-setup-console-x64<\/code><\/pre>\n\n\n\n<p>Once the installer runs, you are prompted to choose the installation option. Select option 1 to install VeraCrypt.<\/p>\n\n\n\n<pre class=\"scroll-box\"><code>VeraCrypt 1.25.9 Setup\n____________________\n\n\nInstallation options:\n\n 1) Install veracrypt_1.25.9_console_amd64.tar.gz\n 2) Extract package file veracrypt_1.25.9_console_amd64.tar.gz and place it to \/tmp\n\nTo select, enter 1 or 2: 1\n\nBefore you can use, extract, or install VeraCrypt, you must accept the\nterms of the VeraCrypt License.\n\nPress Enter to display the license terms..\n<\/code><\/pre>\n\n\n\n<p>Press ENTER and go through the EULA and accept it to proceed with installation.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>...\nDo you accept and agree to be bound by the license terms? (yes\/no): <strong>yes<\/strong><\/code><\/pre>\n\n\n\n<p>Once the installation is done, press ENTER to exit the installer;<\/p>\n\n\n\n<pre class=\"scroll-box\"><code>...\nusr\/share\/doc\/veracrypt\/HTML\/bank_30x30.png\nusr\/share\/doc\/veracrypt\/HTML\/VeraCrypt Volume Format Specification.html\nusr\/share\/doc\/veracrypt\/HTML\/VeraCrypt Rescue Disk.html\nusr\/share\/doc\/veracrypt\/HTML\/VeraCrypt128x128.png\nusr\/sbin\/\nusr\/sbin\/mount.veracrypt\nusr\/bin\/\nusr\/bin\/veracrypt-uninstall.sh\nusr\/bin\/veracrypt\n\nPress Enter to exit... \n<\/code><\/pre>\n\n\n\n<p>VeraCrypt is now installed and placed under, <code>\/usr\/bin\/veracrypt<\/code>.<\/p>\n\n\n\n<p>You can uninstall VeraCrypt using the <strong><code>usr\/bin\/veracrypt-uninstall.sh<\/code><\/strong> script.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Launching VeraCrypt<\/h3>\n\n\n\n<p>If you installed console-based VeraCrypt, you can launch it from the terminal using the <code>veracrypt<\/code> command.<\/p>\n\n\n\n<p>For example, to check help page and examples on how to use veracrypt on command line;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>veracrypt --help<\/code><\/pre>\n\n\n\n<p>Check our guide on how to use VeraCrypt on command line to encrypt drives;<\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/how-to-use-veracrypt-on-command-line-to-encrypt-drives-on-ubuntu-18-04\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Use VeraCrypt on Command Line to Encrypt Drives<\/a><\/p>\n\n\n\n<p>If you installed the GUI version, you can launch it from system activities.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1104\" height=\"361\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/install-veracrypt-ubuntu.png\" alt=\"\" class=\"wp-image-12818\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/install-veracrypt-ubuntu.png?v=1652984253 1104w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/install-veracrypt-ubuntu-768x251.png?v=1652984253 768w\" sizes=\"(max-width: 1104px) 100vw, 1104px\" \/><\/figure><\/div>\n\n\n<p>Now that VeraCrypt is installed, how can I encrypt drives using VeraCrypt?<\/p>\n\n\n\n<p>This process has been extensively described in our previous guide on how to use VeraCrypt to encrypt drives.<\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/how-to-install-and-use-veracrypt-to-encrypt-drives-on-ubuntu-18-04\/#encryptdrives\" target=\"_blank\" rel=\"noreferrer noopener\">How to use VeraCrypt to Encrypt Drives on Ubuntu<\/a><\/p>\n\n\n\n<p>Read more on <a rel=\"noreferrer noopener\" href=\"https:\/\/www.veracrypt.fr\/en\/Beginner%27s%20Tutorial.html\" target=\"_blank\">VeraCrypt Documentation page<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Related Tutorials<\/h3>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/encrypt-emails-using-enigmail-on-thunderbird\/\" target=\"_blank\" rel=\"noreferrer noopener\">Encrypt Emails using Enigmail on Thunderbird<\/a><\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/kifarunix.com\/how-to-install-and-use-veracrypt-to-encrypt-drives-on-ubuntu-18-04\/\" target=\"_blank\">Install and Use VeraCrypt to Encrypt Drives on Ubuntu 18.04<\/a><\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/kifarunix.com\/how-to-encrypt-files-and-folders-with-ecryptfs-on-ubuntu-18-04\/\" target=\"_blank\">How to Encrypt Files and Folders with eCryptFS on Ubuntu 18.04<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-and-setup-openvpn-server-on-ubuntu-20-04\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install and Setup OpenVPN Server on Ubuntu 20.04<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this guide, we are going to learn how to install and setup VeraCrypt on Ubuntu 22.04\/Ubuntu 20.04. VeraCrypt, a fork of TrueCrypt, is a<\/p>\n","protected":false},"author":1,"featured_media":12819,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[121,159,34],"tags":[1550,1551,5191,5193,1553,1552,5192],"class_list":["post-5671","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","category-encryption","category-security","tag-encrypt-drives-with-veracrypt-on-ubuntu-20-04","tag-install-veracrypt-on-ubuntu-20-04","tag-install-veracrypt-ubuntu-22-04","tag-ubuntu-22-04-veracrypt","tag-veracrypt-encrypt-files","tag-veracrypt-ubuntu-20-04","tag-veracrypt-ubuntu-22-04","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50","resize-featured-image"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/5671"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=5671"}],"version-history":[{"count":10,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/5671\/revisions"}],"predecessor-version":[{"id":21406,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/5671\/revisions\/21406"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media\/12819"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=5671"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=5671"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=5671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}