How To Install golang-github-miekg-mmark-dev on Ubuntu 18.04

In this tutorial we learn how to install golang-github-miekg-mmark-dev on Ubuntu 18.04. golang-github-miekg-mmark-dev is Markdown processor in Go geared for the IETF (Go library)

Introduction

In this tutorial we learn how to install golang-github-miekg-mmark-dev on Ubuntu 18.04.

What is golang-github-miekg-mmark-dev

golang-github-miekg-mmark-dev is:

Write RFCs using markdown. Mmark (written in Go) provides an advanced markdown dialect that processes a single file to produce internet-drafts in XML format. Internet-drafts written in mmark can produce XML2RFC v2 and XML2RFC v3 output.

Mmark is a fork of blackfriday which is a Markdown processor implemented in Go. It supports a number of extensions, inspired by Leanpub, kramdown and Asciidoc, that allows for large documents to be written. It is specifically designed to write Internet Drafts (I-Ds) and RFCs for the IETF. With mmark you can create a single file that serves as input into the XML2RFC processor.

It can currently output HTML5, XML2RFC v2 and XML2RFC v3 XML. Other output engines could be added.

This package provides the mmark Go library for development.

There are three methods to install golang-github-miekg-mmark-dev on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install golang-github-miekg-mmark-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 golang-github-miekg-mmark-dev using apt-get by running the following command:

sudo apt-get -y install golang-github-miekg-mmark-dev

Install golang-github-miekg-mmark-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install golang-github-miekg-mmark-dev using apt by running the following command:

sudo apt -y install golang-github-miekg-mmark-dev

Install golang-github-miekg-mmark-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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install golang-github-miekg-mmark-dev using aptitude by running the following command:

sudo aptitude -y install golang-github-miekg-mmark-dev

How To Uninstall golang-github-miekg-mmark-dev on Ubuntu 18.04

To uninstall only the golang-github-miekg-mmark-dev package we can use the following command:

sudo apt-get remove golang-github-miekg-mmark-dev

Uninstall golang-github-miekg-mmark-dev And Its Dependencies

To uninstall golang-github-miekg-mmark-dev and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove golang-github-miekg-mmark-dev

Remove golang-github-miekg-mmark-dev Configurations and Data

To remove golang-github-miekg-mmark-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge golang-github-miekg-mmark-dev

Remove golang-github-miekg-mmark-dev configuration, data, and all of its dependencies

We can use the following command to remove golang-github-miekg-mmark-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge golang-github-miekg-mmark-dev

References

Summary

In this tutorial we learn how to install golang-github-miekg-mmark-dev package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.