deepin-generate-mo command not found

In this troubleshooting guide we learn how to fix deepin-generate-mo command not found error message

Introduction

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

deepin-generate-mo: command not found

or when using sudo you get the following error message

sudo: deepin-generate-mo: command not found

Solutions to deepin-generate-mo: command not found

How To Fix deepin-generate-mo: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu deepin-generate-mo is provided by deepin-gettext-tools package.

deepin-gettext-tools is:

This package provides various tools used by Deepin software to extract translatable string and manage i18n works as a supplement to regular gettext tools.

This package is part of DDE (Deepin Desktop Environment).

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

sudo apt-get -y install deepin-gettext-tools

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

You can also use apt command to install deepin-gettext-tools.

sudo apt -y install deepin-gettext-tools

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

sudo aptitude install deepin-gettext-tools

Summary

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