naturaldocs command not found

In this troubleshooting guide we learn how to fix naturaldocs command not found error message

Introduction

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

naturaldocs: command not found

or when using sudo you get the following error message

sudo: naturaldocs: command not found

Solutions to naturaldocs: command not found

How To Fix naturaldocs: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu naturaldocs is provided by naturaldocs package.

naturaldocs is:

Natural Docs is an extensible, multi-language documentation generator. You document your code in a natural syntax that reads like plain English. Natural Docs then scans your code and builds high-quality HTML documentation from it.

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

sudo apt-get -y install naturaldocs

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

You can also use apt command to install naturaldocs.

sudo apt -y install naturaldocs

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

sudo aptitude install naturaldocs

Summary

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