2.4.4. Verify the Downloaded File
Procedure 2.3. Verify the Downloaded File
- To verify that a file downloaded from the Red Hat Customer Portal is error-free, access the portal site and go to that package's Software Details page. The Software Details page displays the
MD5andSHA256"checksum" values. Use the checksum values to check the integrity of the file. - Open a terminal window and run either the
md5sumorsha256sumcommand, with the downloaded file as an argument. The program displays the checksum value for the file as the output for the command. - Compare the checksum value returned by the command to the corresponding value displayed on the Software Details page for the file.
Note
Microsoft Windows does not come equipped with a checksum tool. Windows operating system users have to download a third-party product instead.
Result
If the two checksum values are identical then the file has not been altered or corrupted and is, therefore, safe to use.
If the two checksum values are not identical, then download the file again. A difference between the checksum values means that the file has either been corrupted during download or has been modified since it was uploaded to the server. If, after several downloads, the checksum will still not successfully validate, contact Red Hat Support for assistance.