mkd2html command not found

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

Introduction

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

mkd2html: command not found

or when using sudo you get the following error message

sudo: mkd2html: command not found

Solutions to mkd2html: command not found

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

In Ubuntu mkd2html is provided by discount package.

discount is:

Discount is an implementation of John Gruber’s Markdown markup language. It implements all of the language described in the Markdown syntax document and passes the Markdown 1.0 test suite.

This package provides the discount executables.

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

sudo apt-get -y install discount

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

You can also use apt command to install discount.

sudo apt -y install discount

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

sudo aptitude install discount

Summary

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