go-md2man command not found

In this troubleshooting guide we learn how to fix go-md2man command not found error message

Introduction

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

go-md2man: command not found

or when using sudo you get the following error message

sudo: go-md2man: command not found

Solutions to go-md2man: command not found

How To Fix go-md2man: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu go-md2man is provided by go-md2man package.

go-md2man is:

Turns Markdown into manpages, which is really handy for people that don’t want to learn how to make manpages from stuff like DocBook.

This package contains the conversion binary for go-md2man version 2.

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

sudo apt-get -y install go-md2man

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

You can also use apt command to install go-md2man.

sudo apt -y install go-md2man

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

sudo aptitude install go-md2man

Summary

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