checkdigits command not found

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

Introduction

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

checkdigits: command not found

or when using sudo you get the following error message

sudo: checkdigits: command not found

Solutions to checkdigits: command not found

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

In Ubuntu checkdigits is provided by libalgorithm-checkdigits-perl package.

libalgorithm-checkdigits-perl is:

This module provides a number of methods to test and generate checksum digits such as carrier trackers, ISBNs, banknotes, credit cards and a lot of other identification numbers.

It will check validity, complete partial numbers, provide base check numbers and extract check digits from several sequence of numbers.

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

sudo apt-get -y install libalgorithm-checkdigits-perl

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

You can also use apt command to install libalgorithm-checkdigits-perl.

sudo apt -y install libalgorithm-checkdigits-perl

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

sudo aptitude install libalgorithm-checkdigits-perl

Summary

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