pdfrevert command not found

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

Introduction

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

pdfrevert: command not found

or when using sudo you get the following error message

sudo: pdfrevert: command not found

Solutions to pdfrevert: command not found

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

In Ubuntu pdfrevert is provided by libtext-pdf-perl package.

libtext-pdf-perl is:

Text::PDF provides a strong base for working with PDF files. It may be a bit hard to use for novices, but it is powerful enough for many other important Perl modules for PDF generation to depend on it.

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

sudo apt-get -y install libtext-pdf-perl

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

You can also use apt command to install libtext-pdf-perl.

sudo apt -y install libtext-pdf-perl

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

sudo aptitude install libtext-pdf-perl

Summary

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