utf8trans command not found

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

Introduction

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

utf8trans: command not found

or when using sudo you get the following error message

sudo: utf8trans: command not found

Solutions to utf8trans: command not found

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

In Ubuntu utf8trans is provided by docbook2x package.

docbook2x is:

The main tools are:

  • docbook2x-man: converts a DocBook/XML refentry into a manual page, with table support
  • docbook2x-texi: converts a DocBook/XML refentry into an info page, most usable for Emacs users

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

sudo apt-get -y install docbook2x

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

You can also use apt command to install docbook2x.

sudo apt -y install docbook2x

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

sudo aptitude install docbook2x

Summary

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