install-docs command not found

In this troubleshooting guide we learn how to fix install-docs command not found error message

Introduction

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

install-docs: command not found

or when using sudo you get the following error message

sudo: install-docs: command not found

Solutions to install-docs: command not found

How To Fix install-docs: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu install-docs is provided by doc-base package.

doc-base is:

This package contains utilities to manage documentation installed on a Debian system. It generates a database of document metadata, which other packages such as dwww, dhelp, dochelp, and doc-central can use to provide a catalog of available documentation.

For additional information see the Debian doc-base Manual included in this package.

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

sudo apt-get -y install doc-base

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

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

sudo apt -y install doc-base

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

sudo aptitude install doc-base

Summary

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