Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, pacman, apt 安装 netcdf-fortran

查看 netcdf-fortran 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install netcdf-fortran

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install netcdf-fortran

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add netcdf-fortran

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

Fedora dnf已验证 · 92%
sudo dnf install netcdf-fortran

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

Arch Linux pacman已验证 · 92%
sudo pacman -S netcdf-fortran

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

Debian apt已验证 · 92%
sudo apt install libnetcdff-dev

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

概览

软件包摘要

Fortran libraries and utilities for NetCDF

命令和别名

  • nf-config

历史

项目历史与用法

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.

时间线

  • 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

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
nf-configcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本4.6.3
管理器更新时间2026-06-03
本地数据OK
上游当前
检测到的最新版本v4.6.3

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

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:netcdf-fortran
版本4.6.3
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/netcdf-fortran
主页https://www.unidata.ucar.edu/software/netcdf/
仓库https://github.com/Unidata/netcdf-fortran
上游文档https://docs.unidata.ucar.edu/netcdf-fortran/current
许可证NetCDF
源码归档https://github.com/Unidata/netcdf-fortran/archive/refs/tags/v4.6.3.tar.gz
最后更新2026-06-03T19:46:32Z
Pulseupdated
依赖gcc, netcdf
构建依赖cmake, hdf5
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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