Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was looking this question and appears everything but crc. Is there a good Ubuntu way around there to do this?

share|improve this question
up vote 6 down vote accepted

As always(maybe sometimes), google is my friend:

$ sudo apt-get install libarchive-zip-perl
$ crc32 my_file
share|improve this answer
perl-Archive-Zip in fedora, mind you – Nemo Dec 18 '15 at 13:00

One way to calculate it is this:

cksum "file"

Another one is

crc32 "file"

To use this last command you need to install libarchive-zip-perl package

share|improve this answer

I'd use the internal md5sum one of the provided sha programs:

sha1sum (1)          - compute and check SHA1 message digest
sha224sum (1)        - compute and check SHA224 message digest
sha256sum (1)        - compute and check SHA256 message digest
sha384sum (1)        - compute and check SHA384 message digest
sha512sum (1)        - compute and check SHA512 message digest

cksum is pretty much outmoded these days because of its problems.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.