Gnuplot Getting started with Gnuplot Installation or Setup


Gnuplot is a portable command-line driven graphing utility. This example will show how to setup gnuplot in the various platforms.


  1. Download the latest version of the installer from gnuplot site.

  2. Run the downloaded file and allow it to run as administrator if requested

  3. On the setup window select the language and follow the instructions on screen.

  4. (optional) During the installation you may select the gnuplot to be added to the PATH that will allow you to run commands from anywhere on the command line. If you choose not to do so you may add it manually later or cd to the gnuplot installed directory prior to running commands.

The default installation location of gnuplot on Windows is C:\Program Files (x86)\gnuplot

NOTE: the filename will be of the format: gp<version>-win32-mingw.exe


The installation on Linux can be done through the different package managers as follows.


$ sudo pacman -S gnuplot

Debian and Ubuntu

$ sudo apt-get update
$ sudo apt-get install gnuplot

CentOS / RedHat

$ sudo yum check-update
$ sudo yum install gnuplot


$ sudo dnf check-update
$ sudo dns install gnuplot


Using Homebrew

$ brew install gnuplot

Using MacPorts

$ sudo port install gnuplot