gencmn command not found

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

Introduction

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

gencmn: command not found

or when using sudo you get the following error message

sudo: gencmn: command not found

Solutions to gencmn: command not found

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

In Ubuntu gencmn is provided by icu-devtools package.

icu-devtools is:

ICU is a C++ and C library that provides robust and full-featured Unicode and locale support. This package contains programs used to manipulate data files found in the ICU sources and is a dependency of libicu-dev. End users would generally not need to install this package.

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

sudo apt-get -y install icu-devtools

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

You can also use apt command to install icu-devtools.

sudo apt -y install icu-devtools

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

sudo aptitude install icu-devtools

Summary

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