doxygen2man command not found

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

Introduction

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

doxygen2man: command not found

or when using sudo you get the following error message

sudo: doxygen2man: command not found

Solutions to doxygen2man: command not found

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

In Ubuntu doxygen2man is provided by doxygen2man package.

doxygen2man is:

This is a tool to generate API manpages from a doxygen-annotated header files. First run doxygen on the header files and then run this program against the main XML file it created and the directory containing the ancilliary files. It will then output a lot of *.3 man page files which you can then ship with your library.

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

sudo apt-get -y install doxygen2man

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

You can also use apt command to install doxygen2man.

sudo apt -y install doxygen2man

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

sudo aptitude install doxygen2man

Summary

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