# Install gnuplot with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

Command-driven, interactive function plotting. Version 6.0.4 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:gnuplot
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install gnuplot
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gnuplot
```

  Evidence: MacPorts ports tree: math/gnuplot/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add gnuplot
```

  Evidence: Alpine Linux edge package indexes: gnuplot from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install gnuplot
```

  Evidence: Debian stable package indexes: gnuplot from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install gnuplot
```

  Evidence: Fedora Rawhide package metadata: gnuplot from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#gnuplot
```

  Evidence: nixpkgs package indexes: pkgs/by-name/gn/gnuplot/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S gnuplot
```

  Evidence: Arch Linux sync databases: gnuplot from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install gnuplot
```

  Evidence: openSUSE Tumbleweed package metadata: gnuplot from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install gnuplot
```

  Evidence: Chocolatey community package catalog: gnuplot from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','glab'

- Scoop (92%):

```sh
scoop install main/gnuplot
```

  Evidence: Scoop official bucket manifest trees: bucket/gnuplot.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id gnuplot.gnuplot -e
```

  Evidence: Windows Package Manager source index: gnuplot.gnuplot from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:gnuplot
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/gnuplot>
- **Version:** 6.0.4
- **Source summary:** Command-driven, interactive function plotting
- **Homepage:** <http://www.gnuplot.info/>
- **Repository:** <https://git.code.sf.net/p/gnuplot/gnuplot-main>
- **Upstream docs:** <http://www.gnuplot.info/documentation.html>
- **License:** gnuplot
- **Source archive:** <https://downloads.sourceforge.net/project/gnuplot/gnuplot/6.0.4/gnuplot-6.0.4.tar.gz>
- **Last updated:** 2026-06-22T14:03:37-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- gnuplot (cli)
- gnuplot (alias)

## Dependencies

- cairo
- gd
- gettext
- glib
- harfbuzz
- libcerf
- lua
- pango
- qt5compat
- qtbase
- qtsvg
- readline
- webp

## Build dependencies

- pkgconf
- qttools

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 6.0.4
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: http://www.gnuplot.info/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

gnuplot is a portable command-driven graphing utility for plotting mathematical functions and data in interactive sessions, scripts and generated output files.

### Project history

gnuplot was created in 1986 to help scientists and students visualize mathematical functions and data interactively. Its official homepage credits a long development history and describes support for Linux, Windows, macOS, OS/2, VMS and other platforms.

Although its name resembles GNU, gnuplot is not part of the GNU Project. The project developed its own license and community around a portable plotting language, terminal drivers and output backends.

### Adoption history

gnuplot became a fixture in scientific computing because it fit naturally into terminals, makefiles, TeX workflows, data-analysis scripts and remote machines. The homepage notes non-interactive uses such as web scripting and use as a plotting engine by third-party applications including Octave.

### How it is used

Practitioners use gnuplot to plot 2D and 3D functions, scatter data, fitted curves, surfaces and publication figures. Output can go to interactive terminals such as Qt, wxWidgets or X11, or to files such as PostScript, PDF, PNG, GIF, JPEG, LaTeX, SVG and HTML5.

### Why package nerds care

For package users, gnuplot is the classic small plotting engine: scriptable, portable, easy to call from shell pipelines and useful on systems where a notebook stack or full GUI application would be too much. Its package often sits behind other numerical tools as the plotting backend.

### Timeline

- 1986: gnuplot was created for interactive visualization of mathematical functions and data.
- 2004: gnuplot 4.0 was released.
- 2015: gnuplot 5.0 was released.
- 2020: gnuplot 5.4 was released.
- 2023: gnuplot 6.0 was released.

### Related projects

- gnuplot is related by workflow to Octave, TeX and LaTeX document production, Unix shell scripting, scientific data files and plotting terminals such as Qt, wxWidgets, X11, SVG, PostScript and PDF.

### Sources

- <http://www.gnuplot.info/>
- <http://www.gnuplot.info/documentation.html>
- <http://www.gnuplot.info/faq/faq.html>
- <https://sourceforge.net/p/gnuplot/gnuplot-main/>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gnuplot
- **Version Scheme:** 0
- **Revision:** 1
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - gnuplot - 6.0.2+dfsg1-1: normalized package name match | Debian stable package indexes: gnuplot from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Command-line driven interactive plotting program. | https://gnuplot.sourceforge.net/
- Debian apt - gnuplot-data - 6.0.2+dfsg1-1: normalized package name match | Debian stable package indexes: gnuplot-data from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Command-line driven interactive plotting program. | https://gnuplot.sourceforge.net/
- Debian apt - gnuplot-doc - 6.0.2+dfsg1-1: normalized package name match | Debian stable package indexes: gnuplot-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Command-line driven interactive plotting program. | https://gnuplot.sourceforge.net/
- Debian apt - gnuplot-nox - 6.0.2+dfsg1-1: normalized package name match | Debian stable package indexes: gnuplot-nox from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Command-line driven interactive plotting program. | https://gnuplot.sourceforge.net/
- Debian apt - gnuplot-qt - 6.0.2+dfsg1-1: normalized package name match | Debian stable package indexes: gnuplot-qt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Command-line driven interactive plotting program. | https://gnuplot.sourceforge.net/
- Debian apt - gnuplot-x11 - 6.0.2+dfsg1-1: normalized package name match | Debian stable package indexes: gnuplot-x11 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Command-line driven interactive plotting program. | https://gnuplot.sourceforge.net/
- Nix - gnuplot: normalized package name match | nixpkgs package indexes: pkgs/by-name/gn/gnuplot/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gnuplot - 6.0.0+dfsg1-1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: gnuplot from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Command-line driven interactive plotting program. | https://gnuplot.sourceforge.net/
- Ubuntu apt - gnuplot-data - 6.0.0+dfsg1-1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: gnuplot-data from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Command-line driven interactive plotting program. | https://gnuplot.sourceforge.net/
- Ubuntu apt - gnuplot-doc - 6.0.0+dfsg1-1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: gnuplot-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Command-line driven interactive plotting program. | https://gnuplot.sourceforge.net/
- Ubuntu apt - gnuplot-nox - 6.0.0+dfsg1-1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: gnuplot-nox from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Command-line driven interactive plotting program. | https://gnuplot.sourceforge.net/
- Ubuntu apt - gnuplot-qt - 6.0.0+dfsg1-1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: gnuplot-qt from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Command-line driven interactive plotting program. | https://gnuplot.sourceforge.net/
- Ubuntu apt - gnuplot-x11 - 6.0.0+dfsg1-1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: gnuplot-x11 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Command-line driven interactive plotting program. | https://gnuplot.sourceforge.net/
- apk - gnuplot - 6.0.4-r2: normalized package name match | Alpine Linux edge package indexes: gnuplot from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Utility for plotting graphs | https://gnuplot.sourceforge.net/
- apk - gnuplot-doc - 6.0.4-r2: normalized package name match | Alpine Linux edge package indexes: gnuplot-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Utility for plotting graphs (documentation) | https://gnuplot.sourceforge.net/
- dnf - gnuplot - 6.0.4-2.fc45: normalized package name match | Fedora Rawhide package metadata: gnuplot from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A program for plotting mathematical expressions and data | http://www.gnuplot.info/


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://www.automicvault.com/pkg/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [Scientific computing packages](https://www.automicvault.com/pkg/scientific-computing-tools/) - Matched scientific computing metadata.
- [cairo](https://www.automicvault.com/pkg/brew/cairo/) - Runtime dependency declared by Homebrew.
- [gd](https://www.automicvault.com/pkg/brew/gd/) - Runtime dependency declared by Homebrew.
- [gettext](https://www.automicvault.com/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [glib](https://www.automicvault.com/pkg/brew/glib/) - Runtime dependency declared by Homebrew.
- [harfbuzz](https://www.automicvault.com/pkg/brew/harfbuzz/) - Runtime dependency declared by Homebrew.
- [lua](https://www.automicvault.com/pkg/brew/lua/) - Runtime dependency declared by Homebrew.
- [pango](https://www.automicvault.com/pkg/brew/pango/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [feedgnuplot](https://www.automicvault.com/pkg/brew/feedgnuplot/) - Popular package that depends on this formula.
- [libqalculate](https://www.automicvault.com/pkg/brew/libqalculate/) - Popular package that depends on this formula.
- [limesuite](https://www.automicvault.com/pkg/brew/limesuite/) - Popular package that depends on this formula.
- [litani](https://www.automicvault.com/pkg/brew/litani/) - Popular package that depends on this formula.
- [maxima](https://www.automicvault.com/pkg/brew/maxima/) - Popular package that depends on this formula.
- [opentsdb](https://www.automicvault.com/pkg/brew/opentsdb/) - Popular package that depends on this formula.
- [siril](https://www.automicvault.com/pkg/brew/siril/) - Popular package that depends on this formula.
- [grace](https://www.automicvault.com/pkg/brew/grace/) - Shares av.db curated category or tags: cli, plotting, science, visualization.
- [libgr](https://www.automicvault.com/pkg/brew/libgr/) - Shares av.db curated category or tags: cli, plotting, science, visualization.
- [magics](https://www.automicvault.com/pkg/brew/magics/) - Shares av.db curated category or tags: cli, plotting, science, visualization.
- [plplot](https://www.automicvault.com/pkg/brew/plplot/) - Shares av.db curated category or tags: cli, data-visualization, plotting, science.
- [vtk](https://www.automicvault.com/pkg/brew/vtk/) - Shares av.db curated category or tags: cli, science, scientific-computing, visualization.
- [geomview](https://www.automicvault.com/pkg/brew/geomview/) - Shares av.db curated category or tags: cli, science, visualization.
- [gmt](https://www.automicvault.com/pkg/brew/gmt/) - Shares av.db curated category or tags: cli, data-visualization, plotting, science.
- [calceph](https://www.automicvault.com/pkg/brew/calceph/) - Shares av.db curated category or tags: cli, science, scientific-computing.
- [metview](https://www.automicvault.com/pkg/brew/metview/) - Local package facts share a topical domain. Shared terms: cairo, cli, data, data-visualization, gettext.

## Combined YAML source

View the package source record on GitHub. [combined/gnuplot.yml](https://github.com/automic-vault/db/blob/main/combined/gnuplot.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
