# Install cgns with Homebrew, Nix, pacman, zypper

CFD General Notation System. Version 4.5.2 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:cgns
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install cgns
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#cgns
```

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

- pacman (92%):

```sh
sudo pacman -S cgns
```

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

- zypper (92%):

```sh
sudo zypper install cgns
```

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

## Package facts

- **Package key:** brew:cgns
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/cgns>
- **Version:** 4.5.2
- **Source summary:** CFD General Notation System
- **Homepage:** <https://cgns.github.io/>
- **Repository:** <https://github.com/CGNS/CGNS>
- **Upstream docs:** <https://cgns.org/>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/CGNS/CGNS/archive/refs/tags/v4.5.2.tar.gz>
- **Last updated:** 2026-06-22T14:03:00-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- adf2hdf (cli)
- cgnscheck (cli)
- cgnscompress (cli)
- cgnsconvert (cli)
- cgnsdiff (cli)
- cgnslist (cli)
- cgnsnames (cli)
- cgnsupdate (cli)
- hdf2adf (cli)
- adf2hdf (alias)
- cgnscheck (alias)
- cgnscompress (alias)
- cgnsconvert (alias)
- cgnsdiff (alias)
- cgnslist (alias)
- cgnsnames (alias)
- cgnsupdate (alias)
- hdf2adf (alias)

## Dependencies

- gcc
- hdf5

## Build dependencies

- cmake

## 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: 4.5.2
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://github.com/CGNS/CGNS
- Upstream latest detected: v4.5.2 (current)
## Project history and usage

CGNS is a standard and reference software stack for storing, exchanging, and archiving computational fluid dynamics data.

### Project history

CGNS began under NASA-funded CFD data exchange work and produced both a documented standard data model and software to read, write, and modify data in that format. Version 1.0 of the Mid-Level Library was released in May 1998.

### Adoption history

The official site describes CGNS as administered by an international steering committee and as an AIAA Recommended Practice. In 1999 the CGNS Steering Committee was created as a voluntary public forum, and in January 2000 it became a subcommittee of the AIAA CFD Committee on Standards.

### How it is used

CGNS is used by CFD applications to exchange grids, boundary conditions, flow solutions, and related aerodynamic analysis data through a portable binary format and platform-independent APIs for C, C++, Fortran, and Fortran90.

### Why package nerds care

For scientific package maintainers, CGNS is notable because it is both a file/data standard and the single public C/C++/Fortran implementation referenced by the project, with command-line utilities such as cgnscheck, cgnsconvert, cgnsdiff, and format converters.

### Timeline

- 1998: Version 1.0 of the Mid-Level Library was released.
- 1999: CGNS Steering Committee was created.
- 2000: CGNS Steering Committee became a subcommittee of the AIAA CFD Committee on Standards.
- 2001: A User's Guide to CGNS was made available.
- 2011: Version 3.1 added 64-bit capability and concurrent ADF/HDF5 support.

### Related projects

- The official history names NPARC, TLNS3D, CFL3D, GMAN, OVERFLOW, and Visual3 as prototype or demonstrator applications involved in CGNS development.

### Sources

- <https://api.github.com/repos/CGNS/CGNS>
- <https://github.com/CGNS/CGNS>
- <https://cgns.github.io/>
- <https://cgns.org/>
- <https://formulae.brew.sh/api/formula/cgns.json>
- <https://cgns.org/general/history.html>
- <https://cgns.org/general/implementations.html>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cgns
- **Version Scheme:** 0
- **Revision:** 0
- **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

- Nix - cgns: normalized package name match | nixpkgs package indexes: pkgs/by-name/cg/cgns/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - cgns - 4.5.2-1: normalized package name match | Arch Linux sync databases: cgns from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Standard for recording and recovering computer data associated with the numerical solution of fluid dynamics equations | https://cgns.github.io/
- zypper - cgns - 4.4.0-2.8: normalized package name match | openSUSE Tumbleweed package metadata: cgns from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | CFD General Notation System | https://cgns.github.io/index.html
- zypper - cgns-devel - 4.4.0-2.8: normalized package name match | openSUSE Tumbleweed package metadata: cgns-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | CFD General Notation System library | https://cgns.github.io/index.html
- zypper - cgns-devel-static - 4.4.0-2.8: normalized package name match | openSUSE Tumbleweed package metadata: cgns-devel-static from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | CFD General Notation System library | https://cgns.github.io/index.html
- zypper - libcgns4_4 - 4.4.0-2.8: normalized package name match | openSUSE Tumbleweed package metadata: libcgns4_4 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | CFD General Notation System library | https://cgns.github.io/index.html


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [gcc](https://www.automicvault.com/pkg/brew/gcc/) - Runtime dependency declared by Homebrew.
- [hdf5](https://www.automicvault.com/pkg/brew/hdf5/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [vtk](https://www.automicvault.com/pkg/brew/vtk/) - Popular package that depends on this formula.
- [hdf5-mpi](https://www.automicvault.com/pkg/brew/hdf5-mpi/) - Shares av.db curated category or tags: cli, data, hdf5, scientific-data.
- [netcdf](https://www.automicvault.com/pkg/brew/netcdf/) - Shares av.db curated category or tags: cli, data, data-format, scientific-data.
- [netcdf-cxx](https://www.automicvault.com/pkg/brew/netcdf-cxx/) - Shares av.db curated category or tags: cli, data, data-format, scientific-data.
- [netcdf-fortran](https://www.automicvault.com/pkg/brew/netcdf-fortran/) - Shares av.db curated category or tags: cli, data, data-format, scientific-data.
- [libgetdata](https://www.automicvault.com/pkg/brew/libgetdata/) - Shares av.db curated category or tags: cli, data, scientific-data.
- [adios2](https://www.automicvault.com/pkg/brew/adios2/) - Shares av.db curated category or tags: cli, data, scientific-data.
- [libesedb](https://www.automicvault.com/pkg/brew/libesedb/) - Shares av.db curated category or tags: cli, data, file-formats.

## Combined YAML source

View the package source record on GitHub. [combined/cgns.yml](https://github.com/automic-vault/db/blob/main/combined/cgns.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
