itstool command not found

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

Introduction

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

itstool: command not found

or when using sudo you get the following error message

sudo: itstool: command not found

Solutions to itstool: command not found

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

In Ubuntu itstool is provided by itstool package.

itstool is:

ITS Tool allows you to translate your XML documents with PO files, using rules from the W3C Internationalization Tag Set (ITS) to determine what to translate and how to separate it into PO file messages.

ITS Tool is designed to make XML documents translatable through PO files by applying standard ITS rules, as well as extension rules specific to ITS Tool. ITS also provides an industry standard way for authors to override translation information in their documents, such as whether a particular element should be translated.

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

sudo apt-get -y install itstool

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

You can also use apt command to install itstool.

sudo apt -y install itstool

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

sudo aptitude install itstool

Summary

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