xml2pot command not found

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

Introduction

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

xml2pot: command not found

or when using sudo you get the following error message

sudo: xml2pot: command not found

Solutions to xml2pot: command not found

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

In Ubuntu xml2pot is provided by poxml package.

poxml is:

This is a collection of tools that facilitate translating DocBook XML files using Gettext message files (PO files).

Also included are several command-line utilities for manipulating DocBook XML files, PO files and PO template files.

This package is part of the KDE Software Development Kit module.

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

sudo apt-get -y install poxml

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

You can also use apt command to install poxml.

sudo apt -y install poxml

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

sudo aptitude install poxml

Summary

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