gksm2ps command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
gksm2ps: command not found
or when using sudo you get the following error message
sudo: gksm2ps: command not found
Solutions to gksm2ps: command not found
How To Fix gksm2ps: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu gksm2ps is provided by ferret-vis package.
ferret-vis is:
Ferret is an interactive computer visualization and analysis environment designed to meet the needs of oceanographers and meteorologists analyzing large and complex gridded data sets. It can transparently access extensive remote Internet data bases using OPeNDAP (formerly known as DODS)
Ferret has a Mathematica-like flexibility, geophysical formatting, “intelligent” connection to its data base, memory management for very large calculations, and symmetrical processing in 4 dimensions. It can work on both gridded and non-gridded datasets.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ferret-vis
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ferret-vis.
sudo apt -y install ferret-vis
Or if you have aptitude installed you can use the following command.
sudo aptitude install ferret-vis
Summary
In this tutorial we learn how to fix gksm2ps command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.