macOS
brew install netcdf-fortranlocal Homebrew formula metadata
sudo port install netcdf-fortranMacPorts ports tree · science/netcdf-fortran/Portfile · source: api.github.com
brew
Fortran libraries and utilities for NetCDF. Version 4.6.3 via Homebrew; verified 2026-06-03.
install
brew install netcdf-fortranlocal Homebrew formula metadata
sudo port install netcdf-fortranMacPorts ports tree · science/netcdf-fortran/Portfile · source: api.github.com
sudo apk add netcdf-fortranAlpine Linux edge package indexes · netcdf-fortran · source: dl-cdn.alpinelinux.org
sudo apt install libnetcdff-devDebian stable package indexes · libnetcdff-dev · source: deb.debian.org
sudo dnf install netcdf-fortranFedora Rawhide package metadata · netcdf-fortran · source: dl.fedoraproject.org
sudo pacman -S netcdf-fortranArch Linux sync databases · netcdf-fortran · source: geo.mirror.pkgbuild.com
overview
Fortran libraries and utilities for NetCDF
history
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.
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.
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.
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.
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
nf-config | cli | global executable |
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.
https://github.com/Unidata/netcdf-fortran
install metadata
| Package key | brew:netcdf-fortran |
|---|---|
| Version | 4.6.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/netcdf-fortran |
| Homepage | https://www.unidata.ucar.edu/software/netcdf/ |
| Repository | https://github.com/Unidata/netcdf-fortran |
| Upstream docs | https://docs.unidata.ucar.edu/netcdf-fortran/current |
| License | NetCDF |
| Source archive | https://github.com/Unidata/netcdf-fortran/archive/refs/tags/v4.6.3.tar.gz |
| Last updated | 2026-06-03T19:46:32Z |
| Pulse | updated |
| Dependencies | gcc, netcdf |
| Build dependencies | cmake, hdf5 |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | netcdf-fortran |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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-devlibnetcdff-doc 4.6.0+really4.5.4+ds-3
NetCDF Fortran documentation
https://www.unidata.ucar.edu/software/netcdf/
sudo apt install libnetcdff-doclibnetcdff7 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 libnetcdff7libnetcdff-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-devlibnetcdff-doc 4.6.0+really4.5.4+ds-3build2
NetCDF Fortran documentation
https://www.unidata.ucar.edu/software/netcdf/
sudo apt install libnetcdff-doclibnetcdff7 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 libnetcdff7netcdf-fortran 4.6.2-r0
NetCDF fortran bindings
https://www.unidata.ucar.edu/software/netcdf/
sudo apk add netcdf-fortrannetcdf-fortran-dev 4.6.2-r0
NetCDF fortran bindings (development files)
https://www.unidata.ucar.edu/software/netcdf/
sudo apk add netcdf-fortran-devnetcdf-fortran-doc 4.6.2-r0
NetCDF fortran bindings (documentation)
https://www.unidata.ucar.edu/software/netcdf/
sudo apk add netcdf-fortran-docnetcdf-fortran 4.6.2-3.fc44
Fortran libraries for NetCDF-4
http://www.unidata.ucar.edu/software/netcdf/
sudo dnf install netcdf-fortrannetcdf-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-develnetcdf-fortran-mpich 4.6.2-3.fc44
NetCDF Fortran mpich libraries
http://www.unidata.ucar.edu/software/netcdf/
sudo dnf install netcdf-fortran-mpichnetcdf-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-develnetcdf-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-staticnetcdf-fortran-openmpi 4.6.2-3.fc44
NetCDF Fortran openmpi libraries
http://www.unidata.ucar.edu/software/netcdf/
sudo dnf install netcdf-fortran-openmpinetcdf-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-develsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.