skkdic-expr2 command not found

In this troubleshooting guide we learn how to fix skkdic-expr2 command not found error message

Introduction

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

skkdic-expr2: command not found

or when using sudo you get the following error message

sudo: skkdic-expr2: command not found

Solutions to skkdic-expr2: command not found

How To Fix skkdic-expr2: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu skkdic-expr2 is provided by skktools package.

skktools is:

This package provides tools to maintain dictionary files for SKK Japanese input systems.

SKK dictionary files are provided by the skkdic package and the skkdic-extra package. You can make a local dictionary file from them.

If you want to convert a dictionary file to cdb (DJB’s constant database), install the tinycdb package. To use the optional scripts, install the required tools, such as gawk, ruby, gauche, etc.

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

sudo apt-get -y install skktools

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

You can also use apt command to install skktools.

sudo apt -y install skktools

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

sudo aptitude install skktools

Summary

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