crc32 command not found

In this troubleshooting guide we learn how to fix crc32 command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

crc32: command not found

or when using sudo you get the following error message

sudo: crc32: command not found

Solutions to crc32: command not found

How To Fix crc32: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu crc32 is provided by libarchive-zip-perl package.

libarchive-zip-perl is:

The Archive::Zip module allows a Perl program to create, manipulate, read, and write Zip archive files.

Zip archives can be created, or you can read from existing zip files. Once created, they can be written to files, streams, or strings.

Members can be added, removed, extracted, replaced, rearranged, and enumerated. They can also be renamed or have their dates, comments, or other attributes queried or modified. Their data can be compressed or uncompressed as needed. Members can be created from members in existing Zip files, or from existing directories, files, or strings.

To fix this problem, we can install more using the command below.

sudo apt-get -y install libarchive-zip-perl

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install libarchive-zip-perl.

sudo apt -y install libarchive-zip-perl

Or if you have aptitude installed you can use the following command.

sudo aptitude install libarchive-zip-perl

Summary

In this tutorial we learn how to fix crc32 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.