change-po-charset command not found

In this troubleshooting guide we learn how to fix change-po-charset command not found error message

Introduction

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

change-po-charset: command not found

or when using sudo you get the following error message

sudo: change-po-charset: command not found

Solutions to change-po-charset: command not found

How To Fix change-po-charset: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu change-po-charset is provided by potool package.

potool is:

This package contains the filter program ‘potool’, as well as a few helper scripts: poedit - helps editing of po files in your favourite editor postats - prints statistics of how much of a file is translated

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

sudo apt-get -y install potool

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

You can also use apt command to install potool.

sudo apt -y install potool

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

sudo aptitude install potool

Summary

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