cpangraph command not found

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

Introduction

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

cpangraph: command not found

or when using sudo you get the following error message

sudo: cpangraph: command not found

Solutions to cpangraph: command not found

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

In Ubuntu cpangraph is provided by libcpandb-perl package.

libcpandb-perl is:

CPANDB is a module for retrieving various types of information about CPAN modules. It pulls data from different places, combining them in one SQLite database for convenient use.

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

sudo apt-get -y install libcpandb-perl

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

You can also use apt command to install libcpandb-perl.

sudo apt -y install libcpandb-perl

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

sudo aptitude install libcpandb-perl

Summary

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