opencc_phrase_extract command not found

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

Introduction

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

opencc_phrase_extract: command not found

or when using sudo you get the following error message

sudo: opencc_phrase_extract: command not found

Solutions to opencc_phrase_extract: command not found

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

In Ubuntu opencc_phrase_extract is provided by opencc package.

opencc is:

opencc is a library for converting character between traditional Chinese and simplified Chinese.

This package includes the conversion tool.

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

sudo apt-get -y install opencc

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

You can also use apt command to install opencc.

sudo apt -y install opencc

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

sudo aptitude install opencc

Summary

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