perl-reversion command not found

In this troubleshooting guide we learn how to fix perl-reversion command not found error message

Introduction

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

perl-reversion: command not found

or when using sudo you get the following error message

sudo: perl-reversion: command not found

Solutions to perl-reversion: command not found

How To Fix perl-reversion: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu perl-reversion is provided by libperl-version-perl package.

libperl-version-perl is:

Perl::Version provides a simple interface for parsing, manipulating and formatting Perl version strings.

Unlike version.pm (which concentrates on parsing and comparing version strings) Perl::Version is designed for cases where you’d like to parse a version, modify it and get back the modified version formatted like the original.

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

sudo apt-get -y install libperl-version-perl

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

You can also use apt command to install libperl-version-perl.

sudo apt -y install libperl-version-perl

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

sudo aptitude install libperl-version-perl

Summary

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