markdown command not found

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

Introduction

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

markdown: command not found

or when using sudo you get the following error message

sudo: markdown: command not found

Solutions to markdown: command not found

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

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