cmark command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cmark: command not found
or when using sudo you get the following error message
sudo: cmark: command not found
Solutions to cmark: command not found
How To Fix cmark: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cmark is provided by cmark package.
cmark is:
cmark is the C reference implementation of CommonMark, a rationalized version of Markdown syntax with a spec.
cmark parses almost as fast as sundown and hoedown (but safer and less buggy), about 3 times faster than discount, and about 100 times faster than kramdown and pandoc. Memory consumption is on par with sundown and about 10 times less than pandoc.
cmark outputs HTML, groff man, LaTeX, CommonMark, and a custom XML format.
Markdown is a lightweight markup language with plain-text-formatting syntax.
This package provides a command-line program (cmark) for parsing and rendering CommonMark documents.
To fix this problem, we can install more using the command below.
sudo apt-get -y install cmark
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install cmark.
sudo apt -y install cmark
Or if you have aptitude installed you can use the following command.
sudo aptitude install cmark
Summary
In this tutorial we learn how to fix cmark command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.