# Install pnetcdf with Homebrew, MacPorts, Nix, apt, zypper

Parallel netCDF library for scientific data using the OpenMPI library. Version 1.15.0 via Homebrew; verified 2026-07-02. Also installable with debian: sudo apt install libpnetcdf-dev.

## Install

```sh
sudo av install brew:pnetcdf
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install pnetcdf
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install pnetcdf
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#pnetcdf
```

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

- Debian apt (92%):

```sh
sudo apt install libpnetcdf-dev
```

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

- zypper (92%):

```sh
sudo zypper install pnetcdf-doc
```

  Evidence: openSUSE Tumbleweed package metadata: pnetcdf-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Package facts

- **Package key:** brew:pnetcdf
- **Package manager:** Homebrew
- **Version:** 1.15.0
- **Source summary:** Parallel netCDF library for scientific data using the OpenMPI library
- **Homepage:** <https://parallel-netcdf.github.io/index.html>
- **Last updated:** 2026-07-02T08:03:48Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- cdfdiff (alias)
- ncmpidiff (alias)
- ncmpidump (alias)
- ncmpigen (alias)
- ncoffsets (alias)
- ncvalidator (alias)
- pnetcdf-config (alias)
- pnetcdf_version (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.15.0

## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Other Package-Manager Records

- Debian apt - libpnetcdf-dev - 1.14.0-2: normalized package name match | Debian stable package indexes: libpnetcdf-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development files for the parallel netCDF library | https://parallel-netcdf.github.io/
- Debian apt - libpnetcdf6 - 1.14.0-2: normalized package name match | Debian stable package indexes: libpnetcdf6 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Libraryfor reading and writing parallel NetCDF files | https://parallel-netcdf.github.io/
- Debian apt - pnetcdf-bin - 1.14.0-2: normalized package name match | Debian stable package indexes: pnetcdf-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Programs for reading and writing parallel NetCDF files | https://parallel-netcdf.github.io/
- Nix - pnetcdf: normalized package name match | nixpkgs package indexes: pkgs/by-name/pn/pnetcdf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libpnetcdf-dev - 1.12.3-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libpnetcdf-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Development files for the parallel netCDF library | https://trac.mcs.anl.gov/projects/parallel-netcdf
- Ubuntu apt - libpnetcdf0d - 1.12.3-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libpnetcdf0d from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Libraryfor reading and writing parallel NetCDF files | https://trac.mcs.anl.gov/projects/parallel-netcdf
- Ubuntu apt - pnetcdf-bin - 1.12.3-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: pnetcdf-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Programs for reading and writing parallel NetCDF files | https://trac.mcs.anl.gov/projects/parallel-netcdf
- zypper - pnetcdf-doc - 1.14.1-1.3: normalized package name match | openSUSE Tumbleweed package metadata: pnetcdf-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Documentation for pnetcdf | https://parallel-netcdf.github.io/
- MacPorts - pnetcdf: normalized package name match | MacPorts ports tree: science/pnetcdf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/pnetcdf.yml](https://github.com/mxcl/pkgdb/blob/main/combined/pnetcdf.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
