eps2svg command not found

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

Introduction

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

eps2svg: command not found

or when using sudo you get the following error message

sudo: eps2svg: command not found

Solutions to eps2svg: command not found

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

In Ubuntu eps2svg is provided by geg package.

geg is:

geg is a very simple utility for parsing and plotting 2D-functions, eg f(x) = 3 + sin(x), and much more complicated functions of course. It is written with GTK+ and provides a neat, configurable user interface.

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

sudo apt-get -y install geg

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

You can also use apt command to install geg.

sudo apt -y install geg

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

sudo aptitude install geg

Summary

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