Automic VaultAutomic Vault

brew

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

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

安装

其他安装命令

macOS

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

local Homebrew formula metadata

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

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

Linux

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

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

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

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

Debian apt已验证 · 92%
sudo apt install libnetcdf-c++4-1

Debian stable package indexes · libnetcdf-c++4-1 · 来源: deb.debian.org

概览

软件包摘要

C++ libraries and utilities for NetCDF

命令和别名

  • ncxx4-config

历史

项目历史与用法

netcdf-cxx is Unidata's netCDF-4 C++ interface package. In Homebrew it is a small language-binding formula that depends on the main netcdf C library and installs the C++ library plus ncxx4-config for build integration.

项目历史

The modern netCDF-4 C++ API came from Lynton Appel of the Culham Centre for Fusion Energy, where it was developed for managing fusion research data from the MAST experiment. Unidata's C++ guide says the API is a complete read/write interface layered over the netCDF-4 C interface, replacing a previous partial C++ interface and using standard C++ features such as namespaces, exceptions, and templates that were not in the older mid-1990s netCDF-3 C++ API.

采用历史

The package is important inside scientific C++ builds but much smaller than the core netCDF C package. On July 1, 2026, Homebrew reported 652 installs over 365 days and 69 installs over 30 days for netcdf-cxx, compared with tens of thousands for netcdf itself. That shape matches its role as a language binding pulled in only by projects that compile C++ against netCDF directly.

使用方式

Users install it when a C++ application needs native netCDF-4 read/write APIs rather than calling the C interface directly. In practice it is used by build systems through the installed headers, library, and ncxx4-config, and it inherits netCDF-C behavior, fixes, and file-format support because the C++ layer sits on top of the C library.

为什么软件包爱好者会关心

The nerdy packaging point is dependency order: netcdf-cxx is not the file format itself, and it does not replace netcdf. It is a thin language-specific layer for C++ consumers, so mismatched netCDF-C versions, HDF5 support, and library naming are the kinds of issues that matter more than end-user CLI behavior.

时间线

  • Mid-1990s: the first netCDF-3 C++ API existed, according to Unidata's C++ guide.
  • 2016-05-13: netcdf-cxx4 v4.3.0 was released.
  • 2019-09-12: netcdf-cxx4 v4.3.1 was released, requiring netCDF-C 4.6.0 or newer.
  • 2026-07-01: Homebrew listed stable version 4.3.1 revision 3.

Related projects

  • netcdf
  • netcdf-fortran
  • netcdf4-python
  • HDF5

安全态势

风险级别:绿色

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 元数据适用于 8 个平台目标。
  • 安装时包含 3 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

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

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

安装元数据

软件包元数据

软件包键brew:netcdf-cxx
版本4.3.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/netcdf-cxx
主页https://www.unidata.ucar.edu/software/netcdf/
仓库https://github.com/Unidata/netcdf-cxx4
上游文档https://docs.unidata.ucar.edu/netcdf-cxx/current
许可证NetCDF
源码归档https://github.com/Unidata/netcdf-cxx4/archive/refs/tags/v4.3.1.tar.gz
最后更新2026-06-22T14:05:37-07:00
Pulseupdated
依赖hdf5, netcdf, zstd
构建依赖cmake
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namenetcdf-cxx
Version Scheme0
Revision3
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

libnetcdf-c++4-1 4.3.1-5

C++ interface for scientific data access to large binary data

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

sudo apt install libnetcdf-c++4-1
  • Section: libs
  • Architecture: amd64
  • Source Package: netcdf-cxx
  • 4 依赖
  • normalized package name match
  • 匹配方式:Netcdf Cxx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnetcdf-c++4-1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnetcdf-c++4-dev 4.3.1-5

creation, access, and sharing of scientific data in C++

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

sudo apt install libnetcdf-c++4-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: netcdf-cxx
  • 2 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Netcdf Cxx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnetcdf-c++4-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnetcdf-c++4-doc 4.3.1-5

NetCDF C++ API documentation

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

sudo apt install libnetcdf-c++4-doc
  • Section: doc
  • Architecture: all
  • Source Package: netcdf-cxx
  • normalized package name match
  • 匹配方式:Netcdf Cxx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnetcdf-c++4-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

libnetcdf-c++4-1 4.3.1-4build2

C++ interface for scientific data access to large binary data

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

sudo apt install libnetcdf-c++4-1
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: netcdf-cxx
  • 4 依赖
  • normalized package name match
  • 匹配方式:Netcdf Cxx
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnetcdf-c++4-1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libnetcdf-c++4-dev 4.3.1-4build2

creation, access, and sharing of scientific data in C++

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

sudo apt install libnetcdf-c++4-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: netcdf-cxx
  • 2 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Netcdf Cxx
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnetcdf-c++4-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libnetcdf-c++4-doc 4.3.1-4build2

NetCDF C++ API documentation

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

sudo apt install libnetcdf-c++4-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: netcdf-cxx
  • normalized package name match
  • 匹配方式:Netcdf Cxx
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnetcdf-c++4-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

netcdf-cxx 4.2-43.fc44

Legacy netCDF C++ library

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

sudo dnf install netcdf-cxx
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: netcdf-cxx
  • 7 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Netcdf Cxx
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: netcdf-cxx from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

netcdf-cxx-devel 4.2-43.fc44

Development files legacy netCDF C++ library

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

sudo dnf install netcdf-cxx-devel
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: netcdf-cxx
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Netcdf Cxx
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: netcdf-cxx-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

netcdf-cxx-static 4.2-43.fc44

Static libraries for legacy netCDF C++ library

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

sudo dnf install netcdf-cxx-static
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: netcdf-cxx
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Netcdf Cxx
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: netcdf-cxx-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

netcdf-cxx 4.3.1-5

NetCDF C++ bindings

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

sudo pacman -S netcdf-cxx
  • License: custom
  • Architecture: x86_64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Netcdf Cxx
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: netcdf-cxx from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

netcdf-cxx

sudo port install netcdf-cxx
  • normalized package name match
  • 匹配方式:Netcdf Cxx
MacPorts ports tree · api.github.com · MacPorts ports tree: science/netcdf-cxx/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 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