{"id":12822,"date":"2022-05-19T22:46:59","date_gmt":"2022-05-19T19:46:59","guid":{"rendered":"https:\/\/kifarunix.com\/?p=12822"},"modified":"2024-03-09T12:57:34","modified_gmt":"2024-03-09T09:57:34","slug":"install-and-setup-veracrypt-on-rocky-linux","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-and-setup-veracrypt-on-rocky-linux\/","title":{"rendered":"Install and Setup VeraCrypt on Rocky Linux"},"content":{"rendered":"\n<p>In this guide, we are going to learn how to install and setup VeraCrypt on Rocky Linux. 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\">Install and Setup VeraCrypt on Rocky Linux<\/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 Rocky Linux;<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"#RPM-package\">Using RPM 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=\"RPM-package\">Install VeraCrypt on Rocky Linux using RPM 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<\/li>\n<\/ul>\n\n\n\n<p>VeraCrypt provide installer scripts on their <a href=\"https:\/\/www.veracrypt.fr\/en\/Downloads.html\" target=\"_blank\" rel=\"noreferrer noopener\">downloads page<\/a> which makes the install as easy as executing the script.<\/p>\n\n\n\n<p>As of this writing, there is no VeraCrypt package available for Rocky Linux.<\/p>\n\n\n\n<p>We will therefore use the RPM binary for CentOS 8. Thus get the link and execute the command below to install VeraCrypt.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf install https:\/\/launchpad.net\/veracrypt\/trunk\/1.25.9\/+download\/veracrypt-1.25.9-CentOS-8-x86_64.rpm<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>\nDependencies resolved.\n============================================================================================================================================================================\n Package                                  Architecture                          Version                                   Repository                                   Size\n============================================================================================================================================================================\nInstalling:\n veracrypt                                x86_64                                1.25.9-1                                  @commandline                                5.5 M\n\nTransaction Summary\n============================================================================================================================================================================\nInstall  1 Package\n\nTotal size: 5.5 M\nInstalled size: 23 M\nIs this ok [y\/N]: y\n\n<\/code><\/pre>\n\n\n\n<p>If you want to install the Console version;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf install https:\/\/launchpad.net\/veracrypt\/trunk\/1.25.9\/+download\/veracrypt-console-1.25.9-CentOS-8-x86_64.rpm<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>\nDependencies resolved.\n============================================================================================================================================================================\n Package                                        Architecture                        Version                                 Repository                                 Size\n============================================================================================================================================================================\nInstalling:\n veracrypt-console                              x86_64                              1.25.9-1                                @commandline                              4.3 M\n\nTransaction Summary\n============================================================================================================================================================================\nInstall  1 Package\n\nTotal size: 4.3 M\nInstalled size: 19 M\nIs this ok [y\/N]:\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"use-generic-installer\">Install VeraCrypt on Rocky Linux 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>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>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<pre class=\"scroll-box\"><code>\nVeraCrypt 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 on Rocky Linux<\/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\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/install-veracrypt-rocky.png\" class=\"td-modal-image\"><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"794\" height=\"510\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/install-veracrypt-rocky.png\" alt=\"\" class=\"wp-image-12824\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/install-veracrypt-rocky.png?v=1652988992 794w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/install-veracrypt-rocky-768x493.png?v=1652988992 768w\" sizes=\"(max-width: 794px) 100vw, 794px\" \/><\/figure><\/div><\/a><\/div>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/veracrypt-rocky.png\" class=\"td-modal-image\"><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"783\" height=\"557\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/veracrypt-rocky.png\" alt=\"Install and Setup VeraCrypt on Rocky Linux\" class=\"wp-image-12830\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/veracrypt-rocky.png?v=1652989819 783w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/veracrypt-rocky-768x546.png?v=1652989819 768w\" sizes=\"(max-width: 783px) 100vw, 783px\" \/><\/figure><\/div><\/a><\/div>\n\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 rel=\"noreferrer noopener\" href=\"https:\/\/kifarunix.com\/how-to-install-and-use-veracrypt-to-encrypt-drives-on-ubuntu-18-04\/#encryptdrives\" target=\"_blank\">How to use VeraCrypt to Encrypt Drives on Ubuntu<\/a><\/p>\n\n\n\n<p>That is how easy it is to get VeraCrypt installed on Rocky Linux. Feel free to explore this awesome tool.<\/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-files-and-directories-with-ecryptfs-on-ubuntu-20-04\/\" target=\"_blank\" rel=\"noreferrer noopener\">Encrypt Files and Directories with eCryptFS on Ubuntu 20.04<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/encrypt-drives-with-luks-in-linux\/\" target=\"_blank\" rel=\"noreferrer noopener\">Encrypt Drives with LUKS in Linux<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this guide, we are going to learn how to install and setup VeraCrypt on Rocky Linux. VeraCrypt, a fork of TrueCrypt, is a free<\/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":[34,159,121],"tags":[5194,5195,227,5196],"class_list":["post-12822","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-security","category-encryption","category-howtos","tag-install-veracrypt-on-rocky-linux","tag-rocky-linux-veracrypt","tag-veracrypt","tag-veracrypt-install-rocky-linux","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\/12822"}],"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=12822"}],"version-history":[{"count":5,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/12822\/revisions"}],"predecessor-version":[{"id":20506,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/12822\/revisions\/20506"}],"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=12822"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=12822"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=12822"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}