# 使用 Homebrew, apt, dnf, MacPorts, Nix, zypper 安装 nco

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

## 安装

```sh
sudo av install brew:nco
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install nco
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install nco
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install nco
```

  证据: Debian stable package indexes: nco from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install nco
```

  证据: Fedora Rawhide package metadata: nco from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#nco
```

  证据: nixpkgs package indexes: pkgs/by-name/nc/nco/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install nco
```

  证据: openSUSE Tumbleweed package metadata: nco from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:nco
- **软件包管理器:** Homebrew
- **版本:** 5.3.9
- **来源摘要:** Command-line operators for netCDF and HDF files
- **主页:** <https://nco.sourceforge.net/>
- **仓库:** <https://github.com/nco/nco>
- **最后更新:** 2026-06-22T14:05:35-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ncap2 (别名)
- ncatted (别名)
- ncbo (别名)
- ncchecker (别名)
- ncclimo (别名)
- ncdiff (别名)
- ncea (别名)
- ncecat (别名)
- nces (别名)
- ncflint (别名)
- ncks (别名)
- ncpdq (别名)
- ncra (别名)
- ncrcat (别名)
- ncremap (别名)
- ncrename (别名)
- ncwa (别名)
- ncz2psx (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 5.3.9
## 项目历史与用法

NCO, the netCDF Operators, is a suite of standalone shell commands for manipulating netCDF, HDF, and DAP scientific-data files. The project sits in the geoscience data-tooling world: derive fields, compute statistics, print and hyperslab data, edit metadata, concatenate files, regrid data, and emit text, binary, or netCDF outputs.

### 项目历史

Charlie Zender's NCO documentation traces the package back to software needs from NCAR, NASA, and ARM-funded work, with copyright beginning in 1995 and a May 1997 foreword offering the tools freely to the scientific community. Unidata's netCDF history places NCO 1.0 in June 1997, one month after netCDF 3.3.

### 采用历史

NCO became a durable part of the netCDF ecosystem because it gives scientists scriptable Unix-style tools instead of requiring a custom C, Fortran, Python, MATLAB, or IDL program for every data-editing task. The project says SourceForge began hosting NCO in March 2000, which helped collaboration, contributions, and support.

### 使用方式

Package users reach for commands like ncks for inspection and extraction, ncrcat for record concatenation, ncra or ncwa for averages, ncatted and ncrename for metadata cleanup, ncap2 for derived variables, and ncremap/ncclimo for climate and regridding workflows. The shell-command style is the point: build reproducible data-processing pipelines with normal scripts.

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

NCO is a classic example of domain-specific CLI tooling that stayed relevant because the file format stayed relevant. It is important for package collections because it bridges lower-level libraries such as netCDF and HDF with practical batch workflows used by climate, atmospheric, oceanographic, and earth-system researchers.

### 时间线

- 1995: NCO source/documentation copyright begins and the project describes itself as GPL open source since 1995.
- June 1997: Unidata history records Charlie Zender releasing NCO 1.0.
- March 2000: SourceForge hosting begins for collaboration and support.
- 2008: Recommended software citation published in Environmental Modelling & Software.
- 2020s: 5.x releases continue adding climate, remapping, compression, and model-workflow features.

### Related projects

- netCDF, HDF4, HDF5, DAP, OPeNDAP, Unidata, ESMF, climate and geoscience model outputs

### 来源

- <https://docs.unidata.ucar.edu/nug/2.0-draft/netcdf_history.html>
- <https://formulae.brew.sh/formula/nco>
- <https://github.com/nco/nco/blob/master/CITATION>
- <https://nco.sourceforge.net/>
- <https://nco.sourceforge.net/nco.html>
- <https://nco.sourceforge.net/src/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Debian apt - nco - 5.3.3-1: normalized package name match | Debian stable package indexes: nco from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Command-line operators to analyze netCDF files | http://nco.sourceforge.net/
- Nix - nco: normalized package name match | nixpkgs package indexes: pkgs/by-name/nc/nco/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - nco - 5.2.1-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: nco from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Command-line operators to analyze netCDF files | http://nco.sourceforge.net/
- dnf - nco - 5.3.9-2.fc45: normalized package name match | Fedora Rawhide package metadata: nco from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Suite of programs for manipulating NetCDF/HDF4 files | http://nco.sourceforge.net/
- dnf - nco-devel - 5.3.9-2.fc45: normalized package name match | Fedora Rawhide package metadata: nco-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for NCO | http://nco.sourceforge.net/
- dnf - nco-static - 5.3.9-2.fc45: normalized package name match | Fedora Rawhide package metadata: nco-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Static libraries for NCO | http://nco.sourceforge.net/
- zypper - libnco-5_3_9 - 5.3.9-1.3: normalized package name match | openSUSE Tumbleweed package metadata: libnco-5_3_9 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Libraries for accessing nco | https://github.com/nco/nco/
- zypper - libnco-devel - 5.3.9-1.3: normalized package name match | openSUSE Tumbleweed package metadata: libnco-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for nco | https://github.com/nco/nco/
- zypper - libnco_c++-5_3_9 - 5.3.9-1.3: normalized package name match | openSUSE Tumbleweed package metadata: libnco_c++-5_3_9 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Libraries for accessing nco | https://github.com/nco/nco/
- zypper - nco - 5.3.9-1.3: normalized package name match | openSUSE Tumbleweed package metadata: nco from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Suite of programs for manipulating NetCDF/HDF files | https://github.com/nco/nco/
- zypper - nco-doc - 5.3.9-1.3: normalized package name match | openSUSE Tumbleweed package metadata: nco-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Documentation for nco | https://github.com/nco/nco/
- MacPorts - nco: normalized package name match | MacPorts ports tree: science/nco/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/nco.yml](https://github.com/mxcl/pkgdb/blob/main/combined/nco.yml)


## 来源

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