#!/bin/bash # Exit immediately on error, treat unset variables as errors, propagate pipe failures. set -euo pipefail # Load shared log/skip/warn/err helpers from the installer library. source "$(dirname "${BASH_SOURCE[0]}")/../../lib/logging.sh" log "Installing Gnuplot..." # gnuplot is a portable command-line graphing and plotting tool. # It is available in the official Arch repos; --needed keeps the install idempotent. sudo pacman -S --noconfirm --needed gnuplot log "Gnuplot installed."