{"id":22826,"date":"2023-10-28T08:42:25","date_gmt":"2023-10-28T08:42:25","guid":{"rendered":"https:\/\/linuxways.net\/?p=22826"},"modified":"2023-10-28T08:42:25","modified_gmt":"2023-10-28T08:42:25","slug":"verify-ubuntu-download","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/ubuntu\/verify-ubuntu-download\/","title":{"rendered":"How to Verify Your Ubuntu Download?"},"content":{"rendered":"<p>Ubuntu is an open-source, multi-user, and popular operating system. Ubuntu comes with different pre-installed applications or software that assist users to perform different tasks\/operations. However, sometimes users require downloading any additional software applications from the Internet. In such cases, usually, users download Applications through the Official Website or Repository but in some cases, the applications are downloaded from third-party websites. These applications downloaded from third-party or unofficial websites may create a risk to the overall security of the system. Due to this reason, the applications or software downloaded must be verified for their integrity and authenticity.<\/p>\n<p>This article provides a clear explanation of the different verification methods for verifying the Ubuntu ISO File.<\/p>\n<h2><strong>Prerequisites<\/strong><\/h2>\n<p>Before Verifying the Integrity of the Downloaded Ubuntu ISO File, Check the md5sum and sha256sum versions on your Ubuntu System. To verify the version of md5sum, use the \u201c&#8211;version\u201d command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">md5sum <span class=\"re5\">--version<\/span><\/div><\/div>\n<p>The md5sum version will be returned in the Terminal. In our case, it is Version 8.32:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"735\" height=\"226\" class=\"wp-image-22827\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-1.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-1.png 735w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-1-300x92.png 300w\" sizes=\"auto, (max-width: 735px) 100vw, 735px\" \/><\/p>\n<p>Now, to verify the sha256sum Version, use the \u201c&#8211;version\u201d command again:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">sha256sum <span class=\"re5\">--version<\/span><\/div><\/div>\n<p>The sha256sum version will be returned to the Terminal. In our case, it is Version 8.32:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"225\" class=\"wp-image-22828\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-2.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-2.png 730w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-2-300x92.png 300w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/p>\n<h2><strong>How to Verify Your Ubuntu Download?<\/strong><\/h2>\n<p>The Downloaded Ubuntu ISO File can be verified through the sha256sum checksum command. The sha256sum command checks the file&#8217;s integrity. If a slight change is made in the file, the sha256 hash value generated will be completely different from the official Ubuntu ISO File Hash value. The sha256 Hash Value can be verified from the Official Ubuntu Website.<\/p>\n<h3><strong>Download Ubuntu Desktop<\/strong><\/h3>\n<p>Before Verifying the Ubuntu ISO Image File, you have to Download it from the Official Ubuntu Website. To Download the Ubuntu ISO File, open your favorite browser and search for Ubuntu Download through the URL. The Official Ubuntu Website link will appear. Click on it to access the Official page of Ubuntu Download:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1350\" height=\"726\" class=\"wp-image-22829\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-3.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-3.png 1350w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-3-300x161.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-3-1024x551.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-3-768x413.png 768w\" sizes=\"auto, (max-width: 1350px) 100vw, 1350px\" \/><\/p>\n<p>Instead of searching for the Ubuntu ISO File through the URL or any search engine, visit the <a href=\"https:\/\/ubuntu.com\/download\/desktop\">Download Ubuntu<\/a> official Website to access the page directly:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1851\" height=\"748\" class=\"wp-image-22830\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-4.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-4.png 1851w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-4-300x121.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-4-1024x414.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-4-768x310.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-4-1536x621.png 1536w\" sizes=\"auto, (max-width: 1851px) 100vw, 1851px\" \/><\/p>\n<p>In the Ubuntu Official Download Page, scroll down and look for the latest Ubuntu LTS Version. The newest version available is the Ubuntu 22.04.3 LTS. Click on the \u201cDownload 22.04.3\u201d Button to start Downloading the Ubuntu ISO File:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1852\" height=\"1046\" class=\"wp-image-22832\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-5.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-5.png 1852w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-5-300x169.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-5-1024x578.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-5-768x434.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-5-1536x868.png 1536w\" sizes=\"auto, (max-width: 1852px) 100vw, 1852px\" \/><\/p>\n<p>The Ubuntu ISO File will start downloading. Wait for the Download to complete:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1774\" height=\"589\" class=\"wp-image-22833\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-6.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-6.png 1774w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-6-300x100.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-6-1024x340.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-6-768x255.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-6-1536x510.png 1536w\" sizes=\"auto, (max-width: 1774px) 100vw, 1774px\" \/><\/p>\n<p>Now, once the Download Completes, you can verify the Ubuntu Download by Comparing the \u201csha256sum\u201d Hash Value. The \u201csha256sum\u201d Hash Value can be verified using the following Methods:<\/p>\n<ul>\n<li>Verify the Ubuntu Download Using the Official Ubuntu Checksum.<\/li>\n<li>Verify the Ubuntu Download with the \u201cDigests\u201d Method.<\/li>\n<li>Verify the Ubuntu Download with the \u201csha256sum\u201d Command.<\/li>\n<li>Verify the Ubuntu Download by Comparing the SHA256SUM and SHA256SUM.gpg Files.<\/li>\n<\/ul>\n<p>Each Method is clearly demonstrated below.<\/p>\n<h2><strong>Method 1: Verify Ubuntu ISO Using the Official Ubuntu Verification Command<\/strong><\/h2>\n<p>After you click on the \u201cDownload\u201d button, you will be redirected to a new page. On the page, you will see the \u201cverify your download\u201d link. Click on the \u201cverify your download\u201d Link:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1246\" height=\"454\" class=\"wp-image-22834\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-7.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-7.png 1246w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-7-300x109.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-7-1024x373.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-7-768x280.png 768w\" sizes=\"auto, (max-width: 1246px) 100vw, 1246px\" \/><\/p>\n<p>A Pop-up will appear and it will display a message box with an Ubuntu Command:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"862\" height=\"569\" class=\"wp-image-22835\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-8.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-8.png 862w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-8-300x198.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-8-768x507.png 768w\" sizes=\"auto, (max-width: 862px) 100vw, 862px\" \/><\/p>\n<p>Now, navigate to the file directory where Ubuntu was downloaded. In our case, it was downloaded in the Ubuntu Directory inside the Downloads Directory:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1159\" height=\"234\" class=\"wp-image-22836\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-9.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-9.png 1159w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-9-300x61.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-9-1024x207.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-9-768x155.png 768w\" sizes=\"auto, (max-width: 1159px) 100vw, 1159px\" \/><\/p>\n<p>Open the Directory Path in the Terminal:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1164\" height=\"335\" class=\"wp-image-22837\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-10.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-10.png 1164w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-10-300x86.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-10-1024x295.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-10-768x221.png 768w\" sizes=\"auto, (max-width: 1164px) 100vw, 1164px\" \/><\/p>\n<p>Open the Ubuntu Web Page again and copy the \u201cecho\u201d command by selecting the Command and then right-clicking on the selected command:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"623\" height=\"427\" class=\"wp-image-22838\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-11.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-11.png 623w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-11-300x206.png 300w\" sizes=\"auto, (max-width: 623px) 100vw, 623px\" \/><\/p>\n<p>Paste the Command in the Terminal:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"910\" height=\"108\" class=\"wp-image-22839\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-12.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-12.png 910w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-12-300x36.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-12-768x91.png 768w\" sizes=\"auto, (max-width: 910px) 100vw, 910px\" \/><\/p>\n<p>Press enter and wait for the Terminal to verify the Download. The cursor blinking at the next line ensures that the verification process is still proceeding:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"908\" height=\"215\" class=\"wp-image-22840\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-13.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-13.png 908w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-13-300x71.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-13-768x182.png 768w\" sizes=\"auto, (max-width: 908px) 100vw, 908px\" \/><\/p>\n<p>If the Terminal Outputs the below message, it means the Ubuntu File is verified:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">ubuntu-22.04.3-desktop-amd64.iso: OK<\/div><\/div>\n<p>In our case, the Terminal outputs the same message confirming the integrity and authenticity of the file:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"915\" height=\"225\" class=\"wp-image-22841\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-14.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-14.png 915w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-14-300x74.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-14-768x189.png 768w\" sizes=\"auto, (max-width: 915px) 100vw, 915px\" \/><\/p>\n<h2><strong>Method 2: Verify Ubuntu ISO Using the \u201cDigests\u201d Method<\/strong><\/h2>\n<p>The Ubuntu ISO File can also be verified through the \u201cDigests\u201d method where you generate the Hash Value through the Digest Property of the File. The Digest Method generates and verifies the digital signature of a File. Before using the Digest Method, you have to install the \u201cgtkhash\u201d utility that will compute the Digest or checksum. Install the \u201cgtkhash\u201d utility in Ubuntu with the \u201capt\u201d command as follows:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt <span class=\"kw2\">install<\/span> nautilus-gtkhash<\/div><\/div>\n<p>This will download and install the \u201cnautilus-gtkhash\u201d packages and set it up:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"918\" height=\"388\" class=\"wp-image-22842\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-15.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-15.png 918w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-15-300x127.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-15-768x325.png 768w\" sizes=\"auto, (max-width: 918px) 100vw, 918px\" \/><\/p>\n<p>Once the \u201cgtkhask\u201d utility downloads, restart Nautilus. Nautilus is an Ubuntu File Manager that can manage our Files. Apart from restarting Nautilus, enable Digests in the Properties of the file by quitting the \u201cnautilus\u201d desktop file manager with the following command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">nautilus <span class=\"re5\">-q<\/span><\/div><\/div>\n<p>This will exit any running file managers, and will restart Nautilus:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"907\" height=\"144\" class=\"wp-image-22843\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-16.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-16.png 907w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-16-300x48.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-16-768x122.png 768w\" sizes=\"auto, (max-width: 907px) 100vw, 907px\" \/><\/p>\n<p>Now, navigate to the Downloaded Ubuntu ISO File directory. In our case, the Ubuntu ISO File is located in the Ubuntu Directory inside the Downloads Directory:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1182\" height=\"197\" class=\"wp-image-22844\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-17.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-17.png 1182w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-17-300x50.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-17-1024x171.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-17-768x128.png 768w\" sizes=\"auto, (max-width: 1182px) 100vw, 1182px\" \/><\/p>\n<p>Right-click on the ISO File. The File Options will appear and select the \u201cProperties\u201d option:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"520\" height=\"499\" class=\"wp-image-22845\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-18.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-18.png 520w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-18-300x288.png 300w\" sizes=\"auto, (max-width: 520px) 100vw, 520px\" \/><\/p>\n<p>The Properties Dialogue Box will appear, click on the \u201cDigests\u201d Option to Open the Digest Menu:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"517\" height=\"503\" class=\"wp-image-22846\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-19.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-19.png 517w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-19-300x292.png 300w\" sizes=\"auto, (max-width: 517px) 100vw, 517px\" \/><\/p>\n<p>The Digest Menu will appear where all the Hash Functions will be listed:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"508\" height=\"496\" class=\"wp-image-22847\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-20.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-20.png 508w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-20-300x293.png 300w\" sizes=\"auto, (max-width: 508px) 100vw, 508px\" \/><\/p>\n<p>As we have to verify the Ubuntu ISO File using the SHA256 checksum, click on the \u201cSHA256\u201d option from the Menu:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"508\" height=\"504\" class=\"wp-image-22848\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-21.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-21.png 508w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-21-300x298.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-21-150x150.png 150w\" sizes=\"auto, (max-width: 508px) 100vw, 508px\" \/><\/p>\n<p>Now click on the \u201cHash\u201d button to start getting the Hash key for the Ubuntu ISO File:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"516\" height=\"513\" class=\"wp-image-22849\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-22.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-22.png 516w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-22-300x298.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-22-150x150.png 150w\" sizes=\"auto, (max-width: 516px) 100vw, 516px\" \/><\/p>\n<p>Wait for the Digest to complete the process:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"512\" height=\"503\" class=\"wp-image-22850\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-23.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-23.png 512w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-23-300x295.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<p>After the process is completed, the Digest Menu will return the Digest of the selected Hash Functions. In our case, we selected the SHA256 option, so the Digest will return the Hash Key of the SHA256 Hash Function:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"918\" height=\"501\" class=\"wp-image-22851\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-24.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-24.png 918w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-24-300x164.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-24-768x419.png 768w\" sizes=\"auto, (max-width: 918px) 100vw, 918px\" \/><\/p>\n<p>Verify the Hash Value with the one from the Official Website. In our case, the Official Hash Value is \u201ca435f6f393dda581172490eda9f683c32e495158a780b5a1de422ee77d98e909\u201d and the Hash Generated by the Digest is \u201ca435f6f393dda581172490eda9f683c32e495158a780b5a1de422ee77d98e909\u201d which are both the same. This verifies the integrity and authenticity of our Ubuntu ISO File.<\/p>\n<h2><strong>Method 3: Verify Ubuntu ISO Using the \u201csha256sum\u201d Command<\/strong><\/h2>\n<p>The Ubuntu ISO File can also be verified directly through the Terminal. The \u201csha256sum\u201d command makes it easier to retrieve the Hash Value without having to use a third party. To use the \u201csha256sum\u201d command, open the Terminal using the \u201cctrl+alt+t\u201d shortcut key:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1514\" height=\"460\" class=\"wp-image-22852\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-25.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-25.png 1514w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-25-300x91.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-25-1024x311.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-25-768x233.png 768w\" sizes=\"auto, (max-width: 1514px) 100vw, 1514px\" \/><\/p>\n<p>Navigate to the file directory using the \u201ccd\u201d Command. In our case, the file is in the Ubuntu Directory inside the Downloads Directory:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1272\" height=\"398\" class=\"wp-image-22853\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-26.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-26.png 1272w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-26-300x94.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-26-1024x320.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-26-768x240.png 768w\" sizes=\"auto, (max-width: 1272px) 100vw, 1272px\" \/><\/p>\n<p>Once you are in the Ubuntu directory, use the \u201csha256sum\u201d command along with the file name:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">sha256sum <span class=\"sy0\">&lt;<\/span>fileName<span class=\"sy0\">&gt;<\/span><\/div><\/div>\n<p>In our case, the file is the Ubuntu ISO File:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">sha256sum ubuntu-22.04.3-desktop-amd64.iso<\/div><\/div>\n<p>The Cursor will start blinking at the end ensuring that the command is retrieving the Hash Value of the Ubuntu ISO File. Wait for the process to complete:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"917\" height=\"255\" class=\"wp-image-22854\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-27.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-27.png 917w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-27-300x83.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-27-768x214.png 768w\" sizes=\"auto, (max-width: 917px) 100vw, 917px\" \/><\/p>\n<p>Once the process is completed and the Hash Value of the Ubuntu ISO File is retrieved, the Hash Value will be displayed in the Terminal:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"915\" height=\"273\" class=\"wp-image-22855\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-28.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-28.png 915w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-28-300x90.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-28-768x229.png 768w\" sizes=\"auto, (max-width: 915px) 100vw, 915px\" \/><\/p>\n<p>Once we retrieve the hash value with the \u201csha256sum\u201d command, the official SHA256 Hash Value on the Ubuntu Website will be the same as the one retrieved with the command. In our case, the retrieved SHA256 Hash Value is \u201ca435f6f393dda581172490eda9f683c32e495158a780b5a1de422ee77d98e909\u201d, which is the same as \u201ca435f6f393dda581172490eda9f683c32e495158a780b5a1de422ee77d98e909\u201d from the Official Website. This is how easily you can verify the Ubuntu ISO Downloaded File with the \u201csha256sum\u201d command.<\/p>\n<h2><strong>Method 4: Verify Ubuntu ISO by Comparing the SHA256SUMS &amp; SHA256SUMS.gpg Files<\/strong><\/h2>\n<p>The Ubuntu ISO File can also be verified by comparing the \u201cSHA256SUMS\u201d and \u201cSHA256SUMS.gpg\u201d Files. Before comparing both Files, Import the GPG Keys from the Official Ubuntu Website using the \u201cgpg\u201d Command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">gpg <span class=\"re5\">--keyid-format<\/span> long <span class=\"re5\">--keyserver<\/span> hkp:<span class=\"sy0\">\/\/<\/span>keyserver.ubuntu.com <span class=\"re5\">--recv-keys<\/span> 0x46181433FBB75451 0xD94AA3F0EFE21092<\/div><\/div>\n<p>The Public Key once imported will be highlighted in the Terminal:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1138\" height=\"154\" class=\"wp-image-22856\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-29.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-29.png 1138w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-29-300x41.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-29-1024x139.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-29-768x104.png 768w\" sizes=\"auto, (max-width: 1138px) 100vw, 1138px\" \/><\/p>\n<p>In case you want to verify the imported Keys, use the \u201cgpg\u201d command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">gpg <span class=\"re5\">--keyid-format<\/span> long <span class=\"re5\">--list-keys<\/span> <span class=\"re5\">--with-fingerprint<\/span> 0x46181433FBB75451 0xD94AA3F0EFE21092<\/div><\/div>\n<p>The Public Keys will be Listed:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1322\" height=\"189\" class=\"wp-image-22857\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-30.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-30.png 1322w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-30-300x43.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-30-1024x146.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-30-768x110.png 768w\" sizes=\"auto, (max-width: 1322px) 100vw, 1322px\" \/><\/p>\n<p>Once added, download the SHA256SUMS and SHA256SUMS.gpg from the official Ubuntu Repository. To download the SHA256SUMS file, use the \u201cwget\u201d command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">wget<\/span> http:<span class=\"sy0\">\/\/<\/span>releases.ubuntu.com<span class=\"sy0\">\/<\/span>22.04.3<span class=\"sy0\">\/<\/span>SHA256SUMS<\/div><\/div>\n<p>The Terminal will save and inform about the success of the saved file:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1318\" height=\"204\" class=\"wp-image-22858\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-31.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-31.png 1318w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-31-300x46.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-31-1024x158.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-31-768x119.png 768w\" sizes=\"auto, (max-width: 1318px) 100vw, 1318px\" \/><\/p>\n<p>Now, download the SHA256SUMS.gpg file using the \u201cwget\u201d command again:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">wget<\/span> http:<span class=\"sy0\">\/\/<\/span>releases.ubuntu.com<span class=\"sy0\">\/<\/span>22.04.3<span class=\"sy0\">\/<\/span>SHA256SUMS.gpg<\/div><\/div>\n<p>The Terminal will save and inform about the success of the SHA256SUMS.gpg file:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1322\" height=\"249\" class=\"wp-image-22859\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-32.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-32.png 1322w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-32-300x57.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-32-1024x193.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-32-768x145.png 768w\" sizes=\"auto, (max-width: 1322px) 100vw, 1322px\" \/><\/p>\n<p>Now verify the checksum file signature using the \u201cgpg\u201d command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">gpg <span class=\"re5\">--keyid-format<\/span> long <span class=\"re5\">--verify<\/span> SHA256SUMS.gpg SHA256SUMS<\/div><\/div>\n<p>If the Terminal Returns a \u201cGood Signature\u201d Message, it means the Ubuntu ISO Image was signed by the owner of the file. In our case, the Checksum File Signature is Good:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1319\" height=\"165\" class=\"wp-image-22860\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-33.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-33.png 1319w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-33-300x38.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-33-1024x128.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-33-768x96.png 768w\" sizes=\"auto, (max-width: 1319px) 100vw, 1319px\" \/><\/p>\n<p>To verify the integrity of the file, compare the downloaded SHA256SUM file with the generated SHA256 checksum. To do this execute the following \u201csha256sum\u201d command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">sha256sum <span class=\"re5\">-c<\/span> SHA256SUMS <span class=\"nu0\">2<\/span><span class=\"sy0\">&gt;&amp;<\/span><span class=\"nu0\">1<\/span> <span class=\"sy0\">|<\/span> <span class=\"kw2\">grep<\/span> OK<\/div><\/div>\n<p>If the output in Terminal displays \u201cOK\u201d along with the ISO Image file, it means the ISO file matches the Checksum verifying the file Integrity. In our case, the Command outputs \u201cOK\u201d:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1319\" height=\"60\" class=\"wp-image-22861\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-34.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-34.png 1319w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-34-300x14.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-34-1024x47.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22826-34-768x35.png 768w\" sizes=\"auto, (max-width: 1319px) 100vw, 1319px\" \/><\/p>\n<p>This is how you can compare the Files and verify the integrity and authenticity of the Ubuntu ISO File.<\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>Ubuntu Offers the <strong>SHA-256 <\/strong>cryptography security algorithm to verify file integrity. SHA-256 or <strong>Secure Hash Algorithm 256-bit <\/strong>produces irreversible and unique Hashes of a File. For verifying the File Integrity, the Hashes of both the Files must match, and the Hashes match only in the case of the data or content inside both the Files Matches.<\/p>\n<p>The Integrity of the Ubuntu ISO File can be verified through the Official Ubuntu Checksum, using the Digests Method, using the sha256sum command, or by Comparing the SHA256SUM and SHA256SUM.gpg Files. All the methods for verifying the Ubuntu Downloaded ISO File are discussed in this article.<\/p>","protected":false},"excerpt":{"rendered":"<p>Ubuntu uses the SHA-256 cryptography security algorithm for verification, and for the File to be authentic, the Hashes of both Files must match. <\/p>","protected":false},"author":110,"featured_media":22831,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-22826","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/22826","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/110"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=22826"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/22826\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/22831"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=22826"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=22826"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=22826"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}