Build and Install GNU Plot on RHEL

less than 1 minute read

  1. Obtain the source and checkout to the latest stable branch
git clone -b branch-5-4-stable git://
  1. Configure with GD Lib to have PNG output files
cd gnuplot-main
./configure --prefix="/path/to/install" --with-gd="/path/to/libgd"
  1. Make and install
make -j16
make -j16 check
make -j16 install

In case you don’t have Libgd installed, grab it from here

tar xvzf libgd-2.3.3.tar.gz
cd libgd-2.3.3
./configure --prefix="/path/to/install"
make -j16
make -j16 install


  1. GNU Plot
  2. LIBGD