cmark-bkrs command not found

In this troubleshooting guide we learn how to fix cmark-bkrs command not found error message

Introduction

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

cmark-bkrs: command not found

or when using sudo you get the following error message

sudo: cmark-bkrs: command not found

Solutions to cmark-bkrs: command not found

How To Fix cmark-bkrs: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu cmark-bkrs is provided by python3-commonmark-bkrs package.

python3-commonmark-bkrs is:

Pure Python port of `jgm’’s CommonMark, a Markdown parser and renderer for the CommonMark (http://commonmark.org) specification, using only native modules.

This provides the CommonMark-py Python package as developed by Bibek Kafle and Roland Shoemaker (BKRS). After release 0.5.4, their project moved to `Read the Docs’ (http://readthedocs.org) and major changes broke compatibility. However some Python packages may still depend on their last implementation, hence this Debian package which is meant to smooth the transition.

This package installs the library for Python 3.

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

sudo apt-get -y install python3-commonmark-bkrs

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

You can also use apt command to install python3-commonmark-bkrs.

sudo apt -y install python3-commonmark-bkrs

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

sudo aptitude install python3-commonmark-bkrs

Summary

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