mkdarts command not found

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

Introduction

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

mkdarts: command not found

or when using sudo you get the following error message

sudo: mkdarts: command not found

Solutions to mkdarts: command not found

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

In Ubuntu mkdarts is provided by darts package.

darts is:

Darts is simple C++ Template Library for implementation of Double-Array Structure.

A double-array structure is a kind of Trie structure, digital search tree, an efficient data structure combining fast access of a matrix form with the compactness of a list form. It is faster than other implementations like Hash tree, Patricia tree, Suffix Array and so.

For more detail about double-array structure, see “Aoe, J. An Efficient Digital Search Algorithm by Using a Double-Array Structure. IEEE Transactions on Software Engineering. Vol. 15, 9 (Sep 1989). pp. 1066-1077.”

This software provides indexing operations for Common Prefix Search. Darts is used for MeCab and ChaSen, Japanese Morphological Analysis System.

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

sudo apt-get -y install darts

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

You can also use apt command to install darts.

sudo apt -y install darts

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

sudo aptitude install darts

Summary

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