kramdown-rfc-extract-markdown command not found

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

Introduction

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

kramdown-rfc-extract-markdown: command not found

or when using sudo you get the following error message

sudo: kramdown-rfc-extract-markdown: command not found

Solutions to kramdown-rfc-extract-markdown: command not found

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

In Ubuntu kramdown-rfc-extract-markdown is provided by ruby-kramdown-rfc2629 package.

ruby-kramdown-rfc2629 is:

kramdown-rfc2629 is an additional kramdown backend that allows generation of XML2RFC XML markup (also known as RFC 2629 compliant markup). This is useful for anyone who is writing Internet-Drafts and RFCs in the IETF.

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

sudo apt-get -y install ruby-kramdown-rfc2629

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

You can also use apt command to install ruby-kramdown-rfc2629.

sudo apt -y install ruby-kramdown-rfc2629

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

sudo aptitude install ruby-kramdown-rfc2629

Summary

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