cdtoa command not found

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

Introduction

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

cdtoa: command not found

or when using sudo you get the following error message

sudo: cdtoa: command not found

Solutions to cdtoa: command not found

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

In Ubuntu cdtoa is provided by freewnn-cserver package.

freewnn-cserver is:

FreeWnn cserver (cWnn) is an integrated Chinese input system running on Unix workstation. It supports a wide range of input methods, satisfying the needs of the Chinese users from all over the world, including P.R.China and Taiwan. FreeWnn cserver is capable of carrying out Hanzi conversion from an arbitrary Pinyin or Zhuyin sequence, hence improving the speed of Pinyin/Zhuyin input.

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

sudo apt-get -y install freewnn-cserver

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

You can also use apt command to install freewnn-cserver.

sudo apt -y install freewnn-cserver

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

sudo aptitude install freewnn-cserver

Summary

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