reverse_markdown command not found

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

Introduction

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

reverse_markdown: command not found

or when using sudo you get the following error message

sudo: reverse_markdown: command not found

Solutions to reverse_markdown: command not found

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

In Ubuntu reverse_markdown is provided by ruby-reverse-markdown package.

ruby-reverse-markdown is:

reverse_markdown transforms HTML into Markdown. It is useful, for example, to import HTML into a Markdown based application. It supports all the established tags and can also be extended, it can deal with nested lists, inline and block code, and supports blockquotes.

It supports all the established HTML tags and requires Ruby 1.9.3 or higher.

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

sudo apt-get -y install ruby-reverse-markdown

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

You can also use apt command to install ruby-reverse-markdown.

sudo apt -y install ruby-reverse-markdown

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

sudo aptitude install ruby-reverse-markdown

Summary

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