Building and Installing gnuplot

Introduction

This document describes the proper steps to install gnuplot on a user's Linux system. For any questions regarding this document, please contact Sentieon support at support@sentieon.com.

Background

gnuplot is a command-line graphics utility that for Linux and other operating systmes. For more general information about gnuplot, please refer to http://www.gnuplot.info/.

The Sentieon software uses gnuplot to create figures using the output of the QualCal, VarCal, GCBias, QualDistribution, InsertSizeMetricAlgo, and MeanQualityByCycle algos.

Installation

Sentieon recommends building gnuplot from the repository source code. The latest version of gnuplot can be found at, http://www.gnuplot.info/download.html. More information on gnuplot configuration and installation can be found in the INSTALL and README files in the gnuplot source package.

Below, we show example installations on different operating systems.

Rocky Linux/AlmaLinux

yum install gcc make patch gzip tar cairo-devel pango-devel  # may require sudo
curl -L "https://downloads.sourceforge.net/project/gnuplot/gnuplot/6.0.2/gnuplot-6.0.2.tar.gz" | \
  tar -zxf -
cd gnuplot-6.0.2
./configure
make
make install  # may require sudo

Ubuntu/Debian

apt update  # may require sudo
apt install make gcc gzip libgd-dev libcairo2-dev libpango1.0-dev curl  # may require sudo
curl -L "https://downloads.sourceforge.net/project/gnuplot/gnuplot/6.0.2/gnuplot-6.0.2.tar.gz" | \
  tar -zxf -
cd gnuplot-6.0.2
./configure
make
make install  # may require sudo

Usage in Sentieon

The sentieon plot commands will call gnuplot from the PATH to produce pdf files.