cpants_lint command not found

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

Introduction

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

cpants_lint: command not found

or when using sudo you get the following error message

sudo: cpants_lint: command not found

Solutions to cpants_lint: command not found

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

In Ubuntu cpants_lint is provided by cpants-lint package.

cpants-lint is:

cpants_lint checks the Kwalitee of a CPAN distribution. More exact, it checks how a given tarball will be rated on http://cpants.perl.org, without needing to upload it first.

This package provides the cpants_lint commandline tool.

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

sudo apt-get -y install cpants-lint

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

You can also use apt command to install cpants-lint.

sudo apt -y install cpants-lint

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

sudo aptitude install cpants-lint

Summary

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