Automic VaultAutomic Vault

brew

Install netcdf-fortran with Homebrew, apk, apt, dnf, MacPorts, pacman

Fortran libraries and utilities for NetCDF. Version 4.6.3 via Homebrew; verified 2026-06-03.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install netcdf-fortran

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install netcdf-fortran

MacPorts ports tree · science/netcdf-fortran/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add netcdf-fortran

Alpine Linux edge package indexes · netcdf-fortran · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install libnetcdff-dev

Debian stable package indexes · libnetcdff-dev · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install netcdf-fortran

Fedora Rawhide package metadata · netcdf-fortran · source: dl.fedoraproject.org

Arch Linux pacmanverified · 92%
sudo pacman -S netcdf-fortran

Arch Linux sync databases · netcdf-fortran · source: geo.mirror.pkgbuild.com

overview

Package summary

Fortran libraries and utilities for NetCDF

Commands and aliases

  • nf-config

history

Project history and usage

netcdf-fortran is Unidata's Fortran interface package for netCDF data. It exists because Fortran users in climate, weather, ocean, atmospheric, and other scientific codes need native F77/F90 APIs while the file format and core implementation live in netCDF-C.

Project history

Fortran has been part of the netCDF story from the beginning because Unidata's original interface work had to account for portable scientific programs across C and Fortran environments. The separate netcdf-fortran distribution now provides Fortran application interfaces, depends on netCDF-C, and contains both F77 and F90 APIs. The Fortran usage guide notes that since netCDF 4.1.3 the Fortran software and library have been distinct from the C library while depending on it.

Adoption history

Its adoption is concentrated in HPC and scientific-modeling build stacks. On July 1, 2026, Homebrew showed 2,728 installs over 365 days and 213 installs over 30 days, with gcc and netcdf as runtime dependencies. The lower volume than netcdf itself is expected because many users only need command-line tools or C libraries, while Fortran consumers install this package to compile model code.

How it is used

Practical use is compiler-facing: Fortran programs call routines such as nf90_create, nf90_def_dim, nf90_def_var, nf90_put_var, nf90_open, nf90_get_var, and nf90_close. The package installs nf-config so builds can obtain the correct include and linker flags with commands like nf-config --fflags --flibs, avoiding hand-written library paths that break across shared/static builds or Homebrew prefix changes.

Why package nerds care

This package matters because many legacy and active scientific codes are Fortran-first. Packaging it separately keeps the core C library smaller while preserving the long-running netCDF contract for Fortran model code. Dependency mismatches with netCDF-C are the main thing maintainers watch; the 4.6.3 release notes require netCDF-C 4.9.2 or newer.

Timeline

  • 1988: Unidata prototyped netCDF in C while evaluating portable interfaces for scientific users, including Fortran constraints.
  • 2011-era netCDF 4.1.3: the Fortran library became consistently distinct from the C library while depending on it, according to the Fortran guide.
  • 2025-03-26: netCDF-Fortran 4.6.2 was released.
  • 2026-05-20: netCDF-Fortran 4.6.3 was released.
  • 2026-07-01: Homebrew listed stable version 4.6.3.

Related projects

  • netcdf
  • netcdf-cxx
  • HDF5
  • PnetCDF

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 2 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
nf-configcliglobal 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 version4.6.3
manager updated2026-06-03
local dataok
upstreamcurrent
latest detectedv4.6.3

https://github.com/Unidata/netcdf-fortran

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:netcdf-fortran
Version4.6.3
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/netcdf-fortran
Homepagehttps://www.unidata.ucar.edu/software/netcdf/
Repositoryhttps://github.com/Unidata/netcdf-fortran
Upstream docshttps://docs.unidata.ucar.edu/netcdf-fortran/current
LicenseNetCDF
Source archivehttps://github.com/Unidata/netcdf-fortran/archive/refs/tags/v4.6.3.tar.gz
Last updated2026-06-03T19:46:32Z
Pulseupdated
Dependenciesgcc, netcdf
Build dependenciescmake, hdf5
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namenetcdf-fortran
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%

libnetcdff-dev 4.6.0+really4.5.4+ds-3+b4

creation, access, and sharing of scientific data in Fortran

https://www.unidata.ucar.edu/software/netcdf/

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

libnetcdff-doc 4.6.0+really4.5.4+ds-3

NetCDF Fortran documentation

https://www.unidata.ucar.edu/software/netcdf/

sudo apt install libnetcdff-doc
  • Section: doc
  • Architecture: all
  • Source Package: netcdf-fortran
  • normalized package name match
  • Matched by: Netcdf Fortran
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnetcdff-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnetcdff7 4.6.0+really4.5.4+ds-3+b4

Fortran interface for scientific data access to large binary data

https://www.unidata.ucar.edu/software/netcdf/

sudo apt install libnetcdff7
  • Section: libs
  • Architecture: amd64
  • Source Package: netcdf-fortran
  • 4 dependencies
  • normalized package name match
  • Matched by: Netcdf Fortran
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnetcdff7 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

libnetcdff-dev 4.6.0+really4.5.4+ds-3build2

creation, access, and sharing of scientific data in Fortran

https://www.unidata.ucar.edu/software/netcdf/

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

libnetcdff-doc 4.6.0+really4.5.4+ds-3build2

NetCDF Fortran documentation

https://www.unidata.ucar.edu/software/netcdf/

sudo apt install libnetcdff-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: netcdf-fortran
  • normalized package name match
  • Matched by: Netcdf Fortran
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnetcdff-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libnetcdff7 4.6.0+really4.5.4+ds-3build2

Fortran interface for scientific data access to large binary data

https://www.unidata.ucar.edu/software/netcdf/

sudo apt install libnetcdff7
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: netcdf-fortran
  • 4 dependencies
  • normalized package name match
  • Matched by: Netcdf Fortran
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnetcdff7 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

netcdf-fortran 4.6.2-r0

NetCDF fortran bindings

https://www.unidata.ucar.edu/software/netcdf/

sudo apk add netcdf-fortran
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: netcdf-fortran
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Netcdf Fortran
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: netcdf-fortran from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

netcdf-fortran-dev 4.6.2-r0

NetCDF fortran bindings (development files)

https://www.unidata.ucar.edu/software/netcdf/

sudo apk add netcdf-fortran-dev
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: netcdf-fortran
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Netcdf Fortran
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: netcdf-fortran-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

netcdf-fortran-doc 4.6.2-r0

NetCDF fortran bindings (documentation)

https://www.unidata.ucar.edu/software/netcdf/

sudo apk add netcdf-fortran-doc
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: netcdf-fortran
  • normalized package name match
  • Matched by: Netcdf Fortran
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: netcdf-fortran-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

netcdf-fortran 4.6.2-3.fc44

Fortran libraries for NetCDF-4

http://www.unidata.ucar.edu/software/netcdf/

sudo dnf install netcdf-fortran
  • License: BSD-3-Clause AND Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: netcdf-fortran
  • 6 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Netcdf Fortran
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: netcdf-fortran from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

netcdf-fortran-devel 4.6.2-3.fc44

Development files for Fortran NetCDF API

http://www.unidata.ucar.edu/software/netcdf/

sudo dnf install netcdf-fortran-devel
  • License: BSD-3-Clause AND Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: netcdf-fortran
  • 6 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Netcdf Fortran
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: netcdf-fortran-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

netcdf-fortran-mpich 4.6.2-3.fc44

NetCDF Fortran mpich libraries

http://www.unidata.ucar.edu/software/netcdf/

sudo dnf install netcdf-fortran-mpich
  • License: BSD-3-Clause AND Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: netcdf-fortran
  • 6 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Netcdf Fortran
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: netcdf-fortran-mpich from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

netcdf-fortran-mpich-devel 4.6.2-3.fc44

NetCDF Fortran mpich development files

http://www.unidata.ucar.edu/software/netcdf/

sudo dnf install netcdf-fortran-mpich-devel
  • License: BSD-3-Clause AND Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: netcdf-fortran
  • 6 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Netcdf Fortran
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: netcdf-fortran-mpich-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

netcdf-fortran-mpich-static 4.6.2-3.fc44

NetCDF Fortran mpich static libraries

http://www.unidata.ucar.edu/software/netcdf/

sudo dnf install netcdf-fortran-mpich-static
  • License: BSD-3-Clause AND Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: netcdf-fortran
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Netcdf Fortran
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: netcdf-fortran-mpich-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

netcdf-fortran-openmpi 4.6.2-3.fc44

NetCDF Fortran openmpi libraries

http://www.unidata.ucar.edu/software/netcdf/

sudo dnf install netcdf-fortran-openmpi
  • License: BSD-3-Clause AND Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: netcdf-fortran
  • 6 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Netcdf Fortran
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: netcdf-fortran-openmpi from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

netcdf-fortran-openmpi-devel 4.6.2-3.fc44

NetCDF Fortran openmpi development files

http://www.unidata.ucar.edu/software/netcdf/

sudo dnf install netcdf-fortran-openmpi-devel
  • License: BSD-3-Clause AND Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: netcdf-fortran
  • 7 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Netcdf Fortran
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: netcdf-fortran-openmpi-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