rdiscount command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
rdiscount: command not found
or when using sudo you get the following error message
sudo: rdiscount: command not found
Solutions to rdiscount: command not found
How To Fix rdiscount: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu rdiscount is provided by ruby-rdiscount package.
ruby-rdiscount is:
Discount is an implementation of John Gruber’s Markdown markup language in C. It implements all of the language described in the markdown syntax document and passes the Markdown 1.0 test suite.
RDiscount is a Ruby extension library for Discount. It can be used as a stand-alone program or within another Ruby program.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ruby-rdiscount
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ruby-rdiscount.
sudo apt -y install ruby-rdiscount
Or if you have aptitude installed you can use the following command.
sudo aptitude install ruby-rdiscount
Summary
In this tutorial we learn how to fix rdiscount command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.