For people who don’t know what is MD5? and why we use it?
As per Wikipedia
The MD5 Message-Digest Algorithm is a widely used cryptographic hash function that produces a 128-bit (16-byte) hash value. Specified in RFC 1321, MD5 has been employed in a wide variety of security applications, and is also commonly used to check data integrity.
To calculate MD5 hash you can use md5sum command something like below.
This command returns 128 bit checksum string which you can further compare to validate the authenticity of the file/ software you have downloaded.