How do I compare the md5sum of a file with the md5 file (that was available to download with the file)?

Posted by user91583 on Ask Ubuntu See other posts from Ask Ubuntu or by user91583
Published on 2013-11-10T02:43:06Z Indexed on 2013/11/10 4:12 UTC
Read the original article Hit count: 457

Filed under:
|

Images are available for a distro on http://livedistro.org/gnulinux/israel-remix-team-mint-12.

  • I want to use the 32-bit version.
  • I have downloaded the ISO file for the 32-bit version (customdist.iso).
  • I have downloaded the md5 file for the ISO file (customdist.iso.md5).
  • I want to calculate the md5sum of the ISO file and compare it to the md5 file.

I can use the md5sum command to display within the terminal the calculated md5 for the ISO file.

I have searched the web and can't find a way to compare the calculated md5 for the ISO file with the downloaded md5 file.

So far, the closest I have come is the command

md5sum -c customdist.iso.md5

from within the folder containing both the files, but this command gives the result:

md5sum: customdist.iso.md5: no properly formatted MD5 checksum lines found

Any ideas?

© Ask Ubuntu or respective owner

Related posts about iso

Related posts about md5sum