tidy_changelog command not found

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

Introduction

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

tidy_changelog: command not found

or when using sudo you get the following error message

sudo: tidy_changelog: command not found

Solutions to tidy_changelog: command not found

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

In Ubuntu tidy_changelog is provided by libcpan-changes-perl package.

libcpan-changes-perl is:

CPAN::Changes is a Perl module for working with the quasi-standard Changes file commonly included with modern CPAN distributions. It allows developers to programmatically read and write files that comply with the preliminary CPAN::Changes::Spec specification.

Includes Test::CPAN::Changes for writing tests to ensure that the Changes file complies with CPAN::Changes::Spec.

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

sudo apt-get -y install libcpan-changes-perl

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

You can also use apt command to install libcpan-changes-perl.

sudo apt -y install libcpan-changes-perl

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

sudo aptitude install libcpan-changes-perl

Summary

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