Automic VaultAutomic Vault

brew

Install gromacs with Homebrew, apt, dnf, MacPorts, Nix, zypper

Versatile package for molecular dynamics calculations. Version 2026.3 via Homebrew; verified 2026-06-25.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gromacs

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install gromacs

MacPorts ports tree · science/gromacs/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install gromacs

Debian stable package indexes · gromacs · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install gromacs

Fedora Rawhide package metadata · gromacs · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#gromacs

nixpkgs package indexes · gromacs · source: raw.githubusercontent.com

openSUSE zypperverified · 92%
sudo zypper install gromacs

openSUSE Tumbleweed package metadata · gromacs · source: download.opensuse.org

overview

Package summary

Versatile package for molecular dynamics calculations

Commands and aliases

  • gmx

history

Project history and usage

GROMACS is a free molecular-dynamics simulation suite used for computational chemistry, biomolecular simulation, and high-performance trajectory analysis.

Its package-manager importance comes from an unusual combination: a serious scientific codebase, a single `gmx` command-line front end, MPI/GPU/HPC build concerns, and broad availability across Unix-like package ecosystems.

Project history

The GROMACS manual records the project's early institutional home as the Department of Biophysical Chemistry at the University of Groningen from 1991 through 2000. The GROMACS literature describes the software as originating from a parallel hardware project and being written in ANSI C with a strong focus on parallel execution and inner-loop performance.

From 2001 onward, the manual credits GROMACS development teams at the Royal Institute of Technology and Uppsala University in Sweden. The project moved from a Groningen-lab code into an international scientific software project maintained by contributors across universities and research centers.

The project documentation emphasizes that GROMACS is a proper name rather than an acronym, while older sources and papers preserve the historical Groningen Machine for Chemical Simulations expansion. The package changed from a collection of specialized simulation programs into a documented suite with release notes, user guides, reference manuals, developer documentation, and a public GitLab workflow.

Licensing is another important part of the evolution. The official documentation identifies GROMACS as free software under LGPL 2.1 or later, a significant detail for scientific users who need to run, modify, redistribute, and audit simulation software.

Adoption history

GROMACS earned adoption through speed, a broad biomolecular feature set, and a command-line workflow that fits clusters and batch systems. The official About page highlights simulations ranging from hundreds to millions of particles, biochemical systems such as proteins, lipids, and nucleic acids, and non-biological uses such as polymers and fluid dynamics.

The citation trail on the official manual reflects scientific adoption: the project asks users to cite a sequence of GROMACS papers from the 1990s through the 2010s, and notes that future development depends on academic research grants. That positions the package as both software infrastructure and an academic research artifact.

Package-manager adoption is broad because GROMACS is useful even outside a custom HPC module tree. Homebrew, Debian, Fedora/DNF, MacPorts, Nix, Ubuntu, and openSUSE packaging make local testing, tutorials, and smaller CPU/GPU runs possible without a site-specific cluster build.

How it is used

A typical GROMACS workflow prepares molecular topology and coordinates, uses `gmx grompp` to assemble a run input file, runs simulations with `gmx mdrun`, and analyzes trajectories with many `gmx` subcommands. The manual's command-line reference lists a large tool surface under the `gmx` entry point.

The official documentation stresses command-line options, clear text topologies and parameter files, consistency checking, hardware-independent run input and trajectory files, parallel execution through MPI or Thread-MPI, and CPU/GPU load balancing. These traits explain why the package fits both teaching laptops and production scientific computing environments.

For users, GROMACS is less a single command than a reproducible simulation environment: force fields, `.mdp` run parameters, topology files, trajectory files, analysis commands, and manual versions all matter together.

Why package nerds care

GROMACS is a classic scientific packaging stress test. Maintainers must care about compilers, SIMD, MPI, GPU backends, optional libraries, floating-point behavior, and executable naming, while users care that `gmx` behaves consistently with the manual version they are following.

It also matters culturally because it brings HPC-grade science into mainstream package managers. Installing `brew:gromacs` or `apt install gromacs` turns a historically cluster-centric molecular-dynamics suite into something that can be inspected, scripted, and taught from ordinary developer machines.

The package is an example of why formula metadata is useful beyond developer tools: it links executable names, licenses, repositories, documentation, and cross-manager availability for software whose real audience spans chemists, biophysicists, systems administrators, and performance engineers.

Timeline

  • 1991: GROMACS development period begins at the Department of Biophysical Chemistry, University of Groningen.
  • 1993: Early GROMACS work appears in the project's citation lineage through the Bekker et al. paper.
  • 1995: The Berendsen et al. paper enters the official GROMACS citation lineage.
  • 2001: The manual's copyright line shifts to GROMACS development teams at the Royal Institute of Technology and Uppsala University.
  • 2005: The `GROMACS: fast, flexible, and free` paper describes the suite's Groningen origin and performance orientation.
  • 2008: The official citation lineage includes GROMACS 4 algorithm work for efficient, load-balanced, scalable molecular simulation.
  • 2013: The official citation lineage includes work describing later-generation GROMACS capabilities and development.
  • 2015: The official citation lineage includes papers on heterogeneous parallelization and high-throughput molecular simulations.
  • 2020s: The project documents public GitLab-based source, issue, and contribution workflows.

Related projects

  • Historically related software includes GROMOS, from the same broader Groningen molecular-simulation tradition, and other molecular-dynamics packages such as AMBER, CHARMM, NAMD, LAMMPS, and OpenMM.
  • Operationally related tools include MPI implementations, GPU compute stacks, PLUMED, VMD, trajectory-analysis tools, force-field collections, and Python interfaces such as gmxapi.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 5 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
gmxcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2026.3
manager updated2026-06-25
local dataok
upstreamnot checked
latest detectednot detected

https://www.gromacs.org/

install metadata

Package metadata

Package keybrew:gromacs
Version2026.3
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/gromacs
Homepagehttps://www.gromacs.org/
Repositoryhttps://gitlab.com/gromacs/gromacs
Upstream docshttps://manual.gromacs.org/
LicenseLGPL-2.1-or-later
Source archivehttps://ftp.gromacs.org/pub/gromacs/gromacs-2026.3.tar.gz
Last updated2026-06-25T16:18:29Z
Pulseupdated
Dependenciesfftw, libomp, lmfit, muparser, openblas
Build dependenciescmake, pkgconf
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared
CaveatsGMXRC and other scripts installed to: $HOMEBREW_PREFIX/share/gromacs

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegromacs
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

gromacs 2025.2-1

Molecular dynamics simulator, with building and analysis tools

https://www.gromacs.org/

sudo apt install gromacs
  • Section: science
  • Architecture: amd64
  • 7 dependencies
  • 3 optional deps
  • normalized package name match
  • Matched by: Gromacs
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gromacs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gromacs-data 2025.2-1

GROMACS molecular dynamics sim, data and documentation

https://www.gromacs.org/

sudo apt install gromacs-data
  • Section: science
  • Architecture: all
  • Source Package: gromacs
  • 1 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Gromacs
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gromacs-data from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgromacs-dev 2025.2-1

GROMACS molecular dynamics sim, development kit

https://www.gromacs.org/

sudo apt install libgromacs-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: gromacs
  • 2 dependencies
  • 4 optional deps
  • normalized package name match
  • Matched by: Gromacs
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgromacs-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgromacs10 2025.2-1

GROMACS molecular dynamics sim, shared libraries

https://www.gromacs.org/

sudo apt install libgromacs10
  • Section: libs
  • Architecture: amd64
  • Source Package: gromacs
  • 14 dependencies
  • normalized package name match
  • Matched by: Gromacs
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgromacs10 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnblib-gmx-dev 2025.2-1

GROMACS molecular dynamics sim, NB-LIB development kit

https://www.gromacs.org/

sudo apt install libnblib-gmx-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: gromacs
  • 1 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Gromacs
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnblib-gmx-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnblib-gmx0 2025.2-1

GROMACS molecular dynamics sim, NB-LIB shared libraries

https://www.gromacs.org/

sudo apt install libnblib-gmx0
  • Section: libs
  • Architecture: amd64
  • Source Package: gromacs
  • 5 dependencies
  • normalized package name match
  • Matched by: Gromacs
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnblib-gmx0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

gromacs

nix profile install nixpkgs#gromacs
  • normalized package name match
  • Matched by: Gromacs
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: gromacs from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

gromacs 2023.3-1ubuntu3

Molecular dynamics simulator, with building and analysis tools

https://www.gromacs.org/

sudo apt install gromacs
  • Section: universe/science
  • Architecture: amd64
  • 7 dependencies
  • 3 optional deps
  • normalized package name match
  • Matched by: Gromacs
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gromacs from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gromacs-data 2023.3-1ubuntu3

GROMACS molecular dynamics sim, data and documentation

https://www.gromacs.org/

sudo apt install gromacs-data
  • Section: universe/science
  • Architecture: all
  • Source Package: gromacs
  • 1 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Gromacs
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gromacs-data from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libgromacs-dev 2023.3-1ubuntu3

GROMACS molecular dynamics sim, development kit

https://www.gromacs.org/

sudo apt install libgromacs-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: gromacs
  • 2 dependencies
  • 4 optional deps
  • normalized package name match
  • Matched by: Gromacs
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgromacs-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libgromacs8 2023.3-1ubuntu3

GROMACS molecular dynamics sim, shared libraries

https://www.gromacs.org/

sudo apt install libgromacs8
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: gromacs
  • 14 dependencies
  • normalized package name match
  • Matched by: Gromacs
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgromacs8 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libnblib-gmx-dev 2023.3-1ubuntu3

GROMACS molecular dynamics sim, NB-LIB development kit

https://www.gromacs.org/

sudo apt install libnblib-gmx-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: gromacs
  • 1 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Gromacs
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnblib-gmx-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libnblib-gmx0 2023.3-1ubuntu3

GROMACS molecular dynamics sim, NB-LIB shared libraries

https://www.gromacs.org/

sudo apt install libnblib-gmx0
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: gromacs
  • 5 dependencies
  • normalized package name match
  • Matched by: Gromacs
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnblib-gmx0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

gromacs 2026.2-1.fc45

Fast, Free and Flexible Molecular Dynamics

http://www.gromacs.org

sudo dnf install gromacs
  • License: LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gromacs
  • 9 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gromacs
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gromacs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

gromacs-common 2026.2-1.fc45

GROMACS shared data and documentation

http://www.gromacs.org

sudo dnf install gromacs-common
  • License: LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: gromacs
  • 2 provides
  • normalized package name match
  • Matched by: Gromacs
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gromacs-common from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

gromacs-devel 2026.2-1.fc45

GROMACS header files and development libraries

http://www.gromacs.org

sudo dnf install gromacs-devel
  • License: LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gromacs
  • 5 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Gromacs
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gromacs-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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