purifyeps command not found

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

Introduction

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

purifyeps: command not found

or when using sudo you get the following error message

sudo: purifyeps: command not found

Solutions to purifyeps: command not found

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

In Ubuntu purifyeps is provided by purifyeps package.

purifyeps is:

While pdfLaTeX has a number of nice features, its primary shortcoming relative to standard LaTeX+dvips is that it is unable to read ordinary Encapsulated PostScript (EPS) files, the most common graphics format in the LaTeX world. purifyeps converts EPS files into a “purified” form that can be read by both LaTeX+dvips and pdfLaTeX.

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

sudo apt-get -y install purifyeps

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

You can also use apt command to install purifyeps.

sudo apt -y install purifyeps

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

sudo aptitude install purifyeps

Summary

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