redcloth command not found

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

Introduction

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

redcloth: command not found

or when using sudo you get the following error message

sudo: redcloth: command not found

Solutions to redcloth: command not found

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

In Ubuntu redcloth is provided by ruby-redcloth package.

ruby-redcloth is:

Textile is a very simple text format, intended for making readable text that can be converted to HTML, and used in docs, blogs, and Wiki pages.

RedCloth is a Ruby module for converting Textile to HTML.

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

sudo apt-get -y install ruby-redcloth

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

You can also use apt command to install ruby-redcloth.

sudo apt -y install ruby-redcloth

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

sudo aptitude install ruby-redcloth

Summary

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