opencc command not found

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

Introduction

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

opencc: command not found

or when using sudo you get the following error message

sudo: opencc: command not found

Solutions to opencc: command not found

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

In Ubuntu opencc 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 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.