ucd-generate command not found

In this troubleshooting guide we learn how to fix ucd-generate command not found error message

Introduction

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

ucd-generate: command not found

or when using sudo you get the following error message

sudo: ucd-generate: command not found

Solutions to ucd-generate: command not found

How To Fix ucd-generate: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ucd-generate is provided by ucd-generate package.

ucd-generate is:

A command line tool to generate Unicode tables in Rust source code.

Tables can typically be generated in one of three formats: a sorted sequence of character ranges, a finite state transducer or a compressed trie. Full support for name canonicalization is also provided. This tool also supports serializing regular expressions as DFAs using the regex-automata crate.

This package contains the following binaries built from the Rust crate “ucd-generate”:

  • ucd-generate

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

sudo apt-get -y install ucd-generate

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

You can also use apt command to install ucd-generate.

sudo apt -y install ucd-generate

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

sudo aptitude install ucd-generate

Summary

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