pgxwin_server command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
pgxwin_server: command not found
or when using sudo you get the following error message
sudo: pgxwin_server: command not found
Solutions to pgxwin_server: command not found
How To Fix pgxwin_server: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu pgxwin_server is provided by pgplot5 package.
pgplot5 is:
This package contains both runtime and development libraries. Many routines are included in pgplot for viewing scientific data. Many (about 70) output devices are supported. 2-D, 3-D, contour, image manipulation, etc. are well supported. Interactive routines are included. Both a C and a FORTRAN library are present. See http://astro.caltech.edu/~tjp/pgplot/ for documentation.
To fix this problem, we can install more using the command below.
sudo apt-get -y install pgplot5
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install pgplot5.
sudo apt -y install pgplot5
Or if you have aptitude installed you can use the following command.
sudo aptitude install pgplot5
Summary
In this tutorial we learn how to fix pgxwin_server command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.