How To Install libmd4c-html0-dev on Debian 11
Introduction
In this tutorial we learn how to install libmd4c-html0-dev
on Debian 11.
What is libmd4c-html0-dev
libmd4c-html0-dev is:
MD4C is C Markdown parser with the following features:
Compliance: Generally MD4C aims to be compliant to the latest version of CommonMark specification. Right now fully compliant to CommonMark 0.28.
Extensions: MD4C supports some commonly requested and accepted extensions.
Compactness: MD4C is implemented in one source file and one header file.
Embedding: MD4C is easy to reuse in other projects, its API is very straightforward: There is actually just one function, md_parse().
Push model: MD4C parses the complete document and calls callback functions provided by the application for each start/end of block, start/end of a span, and with any textual contents.
Portability: MD4C builds and works on Windows and Linux, and it should be fairly simple to make it run also on most other systems.
Encoding: MD4C can be compiled to recognize ASCII-only control characters, UTF-8 and, on Windows, also UTF-16, i.e. what is on Windows commonly called just “Unicode”. See more details below.
Permissive license: MD4C is available under the MIT license.
This package ships the standalone Markdown-to-HTML converter’s development files.
There are three methods to install libmd4c-html0-dev
on Debian 11. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libmd4c-html0-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libmd4c-html0-dev
using apt-get
by running the following command:
sudo apt-get -y install libmd4c-html0-dev
Install libmd4c-html0-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libmd4c-html0-dev
using apt
by running the following command:
sudo apt -y install libmd4c-html0-dev
Install libmd4c-html0-dev Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libmd4c-html0-dev
using aptitude
by running the following command:
sudo aptitude -y install libmd4c-html0-dev
How To Uninstall libmd4c-html0-dev on Debian 11
To uninstall only the libmd4c-html0-dev
package we can use the following command:
sudo apt-get remove libmd4c-html0-dev
Uninstall libmd4c-html0-dev And Its Dependencies
To uninstall libmd4c-html0-dev
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove libmd4c-html0-dev
Remove libmd4c-html0-dev Configurations and Data
To remove libmd4c-html0-dev
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge libmd4c-html0-dev
Remove libmd4c-html0-dev configuration, data, and all of its dependencies
We can use the following command to remove libmd4c-html0-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libmd4c-html0-dev
Dependencies
libmd4c-html0-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libmd4c-html0-dev
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.