docbook2x-man command not found

In this troubleshooting guide we learn how to fix docbook2x-man command not found error message

Introduction

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

docbook2x-man: command not found

or when using sudo you get the following error message

sudo: docbook2x-man: command not found

Solutions to docbook2x-man: command not found

How To Fix docbook2x-man: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu docbook2x-man 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 docbook2x-man command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.