{"id":33181,"date":"2021-01-03T11:15:13","date_gmt":"2021-01-03T11:15:13","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=33181"},"modified":"2024-04-24T15:24:45","modified_gmt":"2024-04-24T15:24:45","slug":"install-veracrypt-create-encrypted-disk-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2021\/01\/install-veracrypt-create-encrypted-disk-ubuntu-20-04\/","title":{"rendered":"How to Install VeraCrypt and Create Encrypted Disk in Ubuntu 20.04"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-33182\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/veracrypt-icon.png\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/veracrypt-icon.png 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/veracrypt-icon-150x150.png 150w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/p>\n<p>This simple tutorial shows how to install VeraCrypt and create encrypted hard drive, USB stick in Ubuntu 20.04, Ubuntu 18.04, Linux Mint 20, Ubuntu 20.10.<\/p>\n<p>VeraCrypt is a free and open-source disk encryption software based on TrueCrypt 7.1a. It works on Linux, Windows, and Mac OS.<\/p>\n<p>With VeraCrypt, you can:<\/p>\n<ul>\n<li>Creates a <b>virtual encrypted disk within a file<\/b> and mounts it as a real disk.<\/li>\n<li>Encrypts an <b>entire partition or storage device<\/b> such as USB flash drive or hard drive.<\/li>\n<li>Encrypts a <b>partition or drive where Windows is installed<\/b>.<\/li>\n<\/ul>\n<h3>How to Install VeraCrypt in Ubuntu via PPA:<\/h3>\n<p>The software offers <a href=\"https:\/\/www.veracrypt.fr\/en\/Downloads.html\" target=\"_blank\" rel=\"noopener\">official 64-bit .deb binaries<\/a> for all current Ubuntu releases.<\/p>\n<p>For arm64, armhf, ppc64el packages, there&#8217;s an <a href=\"https:\/\/launchpad.net\/~unit193\/+archive\/ubuntu\/encryption\" target=\"_blank\" rel=\"noopener\">unofficial PPA<\/a> maintained by the administrator of &#8220;XUbuntu Developers&#8221; team.<\/p>\n<p><b>1.)<\/b> To add the PPA, open terminal from system application launcher and run command:<\/p>\n<pre style=\"border: none;\">sudo add-apt-repository ppa:unit193\/encryption<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-33183\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/unit-encryption-ppa.png\" alt=\"\" width=\"600\" height=\"126\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/unit-encryption-ppa.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/unit-encryption-ppa-450x95.png 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>2.)<\/b> Then refresh system package cache and install the encryption software via commands:<\/p>\n<pre style=\"border: none;\">sudo apt update\r\n\r\nsudo apt install veracrypt<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-33184\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/apt-veracrypt.png\" alt=\"\" width=\"600\" height=\"245\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/apt-veracrypt.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/apt-veracrypt-450x184.png 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<h3>How to Create an Encrypted Disk via VeraCrypt:<\/h3>\n<p>Once installed the software, open it from system application launcher. Then click on the &#8220;<b>Create Volume<\/b>&#8221; button to start creating an encrypted disk.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/veracrypt-window.jpg\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-33185\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/veracrypt-window-600x361.jpg\" alt=\"\" width=\"600\" height=\"361\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/veracrypt-window-600x361.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/veracrypt-window-450x270.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/veracrypt-window-768x461.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/veracrypt-window.jpg 1120w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Then either select &#8220;Create an encrypted file container&#8221; for a virtual encrypted disk within a file, or &#8220;Create a volume within a partition\/drive&#8221; to encrypt non-system partition, external hard drive, or entire USB stick.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-33186\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/veracrypt-create.png\" alt=\"\" width=\"600\" height=\"413\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/veracrypt-create.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/veracrypt-create-450x310.png 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Then follow the setup wizard to choose volume type, encryption algorithm, volume password, file system type, and finally click &#8220;Format&#8221;.<\/p>\n<p>When everything&#8217;s done, mount the volume and you&#8217;ll be able to access it via Nautilus file browser.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-33187\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/encrypted-volume.png\" alt=\"\" width=\"600\" height=\"281\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/encrypted-volume.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/encrypted-volume-450x211.png 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p style=\"text-align: right;\">For more, read the <a href=\"https:\/\/www.veracrypt.fr\/en\/Documentation.html\" target=\"_blank\" rel=\"noopener\">official Documentation<\/a>.<\/p>\n<h3>Uninstall:<\/h3>\n<p>To remove VeraCrypt, simply run command in terminal:<\/p>\n<pre style=\"border: none;\">sudo apt remove --autoremove veracrypt<\/pre>\n<p>To remove the Ubuntu PPA, run command:<\/p>\n<pre style=\"border: none;\">sudo add-apt-repository --remove ppa:unit193\/encryption<\/pre>","protected":false},"excerpt":{"rendered":"<p>This simple tutorial shows how to install VeraCrypt and create encrypted hard drive, USB stick in Ubuntu 20.04, Ubuntu 18.04, Linux Mint 20, Ubuntu 20.10. VeraCrypt is a free and open-source disk encryption software based on TrueCrypt 7.1a. It works on Linux, Windows, and Mac OS. With VeraCrypt, you can: Creates a virtual encrypted disk [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[2011],"class_list":["post-33181","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-disk-encryption"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/33181","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=33181"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/33181\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=33181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=33181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=33181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}