mdoc-update command not found

In this troubleshooting guide we learn how to fix mdoc-update command not found error message

Introduction

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

mdoc-update: command not found

or when using sudo you get the following error message

sudo: mdoc-update: command not found

Solutions to mdoc-update: command not found

How To Fix mdoc-update: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mdoc-update is provided by monodoc-base package.

monodoc-base is:

The MonoDoc Project is the documentation framework of the Mono project which provides detailed API documentation for all Mono components and the Mono CLI implementation.

This package contains the shared binaries which are used by the monodoc programs like the documentation file compiler (assembler.exe aka “monodoc”).

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

sudo apt-get -y install monodoc-base

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

You can also use apt command to install monodoc-base.

sudo apt -y install monodoc-base

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

sudo aptitude install monodoc-base

Summary

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