markdown2man command not found

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

Introduction

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

markdown2man: command not found

or when using sudo you get the following error message

sudo: markdown2man: command not found

Solutions to markdown2man: command not found

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

In Ubuntu markdown2man is provided by libsoldout-utils package.

libsoldout-utils is:

libsoldout is a library implementing a parser for John Gruber’s markdown language (http://daringfireball.net/projects/markdown/).

This package contains the code to build examples of programs exploiting libsoldout. Even though they are meant to show how to program with libsoldout they are fully functional. The examples are

  • markdown2html: a markdown to HTML converter
  • markdown2latex: markdown to LaTex converter
  • markdown2man: a markdown to man page converter

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

sudo apt-get -y install libsoldout-utils

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

You can also use apt command to install libsoldout-utils.

sudo apt -y install libsoldout-utils

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

sudo aptitude install libsoldout-utils

Summary

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