Visit the Gnuplot SourceForge repository or the official download page .
Open your terminal and navigate to your downloads folder: tar -xvf gnuplot-6.0.4.tar.gz cd gnuplot-6.0.4 ``` Use code with caution. Compile and Install: ./configure make sudo make install ``` Use code with caution. Verifying the Installation
gnuplot --version ``` To launch the interactive environment, simply type `gnuplot` in your terminal. You can test its graphical capability immediately by running the `test` command or plotting a simple function like `plot sin(x)`. ### Why Choose Gnuplot on Linux? * **Portability:** Scripts written on Linux can easily be shared and run on Windows or macOS. * **Automation:** Linux users often use Gnuplot to automate graph generation from log files or simulation data. * **Versatility:** It supports a massive range of output formats, including PNG, PDF, and SVG, making it ideal for academic publications. Use code with caution. gnuplot homepage
Once the process is finished, verify that Gnuplot is correctly installed by checking its version:
If you need the absolute latest features (such as those in , released December 2025), you may prefer to download the source tarball.
For most users, the easiest way to "download" and install Gnuplot is via the terminal. This method automatically handles dependencies and updates. sudo apt update sudo apt install gnuplot ``` Use code with caution. Fedora / CentOS / RHEL: sudo dnf install gnuplot ``` Use code with caution. Arch Linux / Manjaro: sudo pacman -S gnuplot ``` Use code with caution. Snap (Universal): sudo snap install gnuplot-editor-unofficial ``` Use code with caution. Downloading Official Source Files