rust-markdown command not found

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

Introduction

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

rust-markdown: command not found

or when using sudo you get the following error message

sudo: rust-markdown: command not found

Solutions to rust-markdown: command not found

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

In Ubuntu rust-markdown is provided by rust-markdown package.

rust-markdown is:

This package provides a command line utility markdown which uses the rust markdown crate to parse a markdown file and output HTML.

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

sudo apt-get -y install rust-markdown

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

You can also use apt command to install rust-markdown.

sudo apt -y install rust-markdown

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

sudo aptitude install rust-markdown

Summary

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