createPYMB command not found

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

Introduction

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

createPYMB: command not found

or when using sudo you get the following error message

sudo: createPYMB: command not found

Solutions to createPYMB: command not found

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

In Ubuntu createPYMB is provided by fcitx-tools package.

fcitx-tools is:

Fcitx is an input method framework with extension support, which provides an interface for entering characters of different scripts in applications using a variety of mapping systems.

It offers a pleasant and modern experience, with intuitive graphical configuration tools and customizable skins and mapping tables. It is highly modularized and extensible, with GTK+ 2/3 and Qt5 IM Modules, support for UIs based on Fbterm, pure Xlib, GTK+, or KDE, and a developer-friendly API.

This package provides the following tools:

  • createPYMB: create a Pinyin data file (.mb)
  • mb2org: convert a .mb data file to .org file
  • mb2txt: convert a .mb data file to text file
  • readPYBase: read Pinyin base file
  • readPYMB: read Pinyin data file (.mb)
  • scel2org: convert scel data file (Sougou) to .org file
  • txt2mb: convert text file to .mb data file

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

sudo apt-get -y install fcitx-tools

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

You can also use apt command to install fcitx-tools.

sudo apt -y install fcitx-tools

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

sudo aptitude install fcitx-tools

Summary

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