# 使用 Homebrew, apt, dnf, MacPorts, Nix 安装 ncview

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

## 安装

```sh
sudo av install brew:ncview
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ncview
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ncview
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install ncview
```

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

- dnf (92%):

```sh
sudo dnf install ncview
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#ncview
```

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

## 软件包事实

- **软件包键:** brew:ncview
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ncview>
- **版本:** 2.1.11
- **来源摘要:** Visual browser for netCDF format files
- **主页:** <https://cirrus.ucsd.edu/ncview/>
- **上游文档:** <https://cirrus.ucsd.edu/ncview/>
- **许可证:** GPL-3.0-only
- **源码归档:** <https://cirrus.ucsd.edu/~pierce/ncview/ncview-2.1.11.tar.gz>
- **最后更新:** 2026-07-22T16:43:57-04:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- ncview (cli)
- ncview (别名)

## 依赖

- libice
- libpng
- libsm
- libx11
- libxaw
- libxt
- netcdf
- udunits

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.1.11
- 管理器更新时间: 2026-07-22
- 本地数据: OK
- 上游仓库: https://cirrus.ucsd.edu/ncview/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

ncview is David W. Pierce's X11 visual browser for netCDF files, aimed at quick inspection rather than full analysis. The official page describes it as a way to get a push-button look at netCDF data, animate time slices, browse dimensions, inspect values, and change colormaps.

### 项目历史

The distributed README for ncview 1.75 is dated March 20, 1999 and states copyright from 1993 through 1999, so the project belongs to the early scientific Unix/X11 era around netCDF. The README explicitly frames ncview as a lightweight viewer for movies and simple plots, not as a replacement for commercial analysis packages.

The project remained tied to the netCDF ecosystem: its build instructions require the netCDF library and optionally UDUNITS, and the official page says version 2.1.11 was updated on November 26, 2024.

### 采用历史

ncview has persisted because climate, ocean, atmospheric, and HPC users still need a fast graphical sanity check for array-oriented scientific files. Debian packages it under science, and Homebrew lists binary bottle support for macOS and Linux.

On July 1, 2026, Homebrew Formulae listed ncview 2.1.11 with 670 installs in its 365-day analytics window, which is modest but real usage for an X11 scientific utility.

### 使用方式

Package nerd usage is simple: install netCDF/X11 dependencies, run `ncview file.nc`, then scrub through dimensions or time steps to see whether a model or instrument output looks sane before doing heavier analysis in Python, NCO, CDO, Panoply, MATLAB, or domain-specific tooling.

The official page's notes on missing values, units, long_name, title, add_offset, scale_factor, dimensional variables, and UDUNITS support explain why ncview works best on netCDF files that follow common metadata conventions.

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

ncview is a classic small scientific Unix tool: old UI stack, narrow purpose, durable because the file format and workflow survived. It is especially useful in package indexes because its dependencies signal the netCDF plus X11 visualization niche.

### 时间线

- {'date': '1993', 'event': 'Earliest copyright year listed in the ncview 1.75 README.'}
- {'date': '1999-03-20', 'event': 'ncview 1.75 README date.'}
- {'date': '2024-11-26', 'event': 'Official page says ncview 2.1.11 was updated.'}
- {'date': '2026-07-01', 'event': 'Homebrew Formulae listed stable 2.1.11 and 670 installs in the 365-day analytics window.'}

### Related projects

- netCDF
- UDUNITS
- X11 Athena Widget Set
- Panoply
- NCO
- CDO

### 来源

- <https://cirrus.ucsd.edu/ncview/>
- <https://cirrus.ucsd.edu/~pierce/docs/ncview.README>
- <https://formulae.brew.sh/formula/ncview>
- <https://packages.debian.org/sid/ncview>


## 安全说明

narrow executable package without higher-risk signals.

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ncview
- **Version Scheme:** 0
- **Revision:** 1
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - ncview - 2.1.11+ds-1+b1: normalized package name match | Debian stable package indexes: ncview from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | X11 visual browser for NetCDF format files | https://cirrus.ucsd.edu/ncview/
- Nix - ncview: normalized package name match | nixpkgs package indexes: pkgs/by-name/nc/ncview/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ncview - 2.1.8+ds-5build3: normalized package name match | Ubuntu 24.04 LTS package indexes: ncview from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | X11 visual browser for NetCDF format files | http://meteora.ucsd.edu/~pierce/ncview_home_page.html
- dnf - ncview - 2.1.11-8.fc45: normalized package name match | Fedora Rawhide package metadata: ncview from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | A visual browser for netCDF format files | https://cirrus.ucsd.edu/ncview/
- MacPorts - ncview: normalized package name match | MacPorts ports tree: science/ncview/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/zh-hans/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [libpng](https://pkg.so/zh-hans/brew/libpng/) - Runtime dependency declared by Homebrew.
- [netcdf](https://pkg.so/zh-hans/brew/netcdf/) - Runtime dependency declared by Homebrew.
- [udunits](https://pkg.so/zh-hans/brew/udunits/) - Runtime dependency declared by Homebrew.
- [grace](https://pkg.so/zh-hans/brew/grace/) - Shares pkgdb curated category or tags: cli, science, visualization, x11.
- [metview](https://pkg.so/zh-hans/brew/metview/) - Shares pkgdb curated category or tags: cli, netcdf, science, visualization.
- [gabedit](https://pkg.so/zh-hans/brew/gabedit/) - Shares pkgdb curated category or tags: cli, science, visualization.
- [vtk](https://pkg.so/zh-hans/brew/vtk/) - Shares pkgdb curated category or tags: cli, science, visualization.
- [root](https://pkg.so/zh-hans/brew/root/) - Shares pkgdb curated category or tags: cli, science, visualization.
- [gromacs](https://pkg.so/zh-hans/brew/gromacs/) - Shares pkgdb curated category or tags: cli, science.
- [nco](https://pkg.so/zh-hans/brew/nco/) - Shares pkgdb curated category or tags: cli, netcdf, science.
- [libgr](https://pkg.so/zh-hans/brew/libgr/) - Shares pkgdb curated category or tags: cli, science, visualization.
- [geomview](https://pkg.so/zh-hans/brew/geomview/) - Local package facts share a topical domain. Shared terms: cli, libice, libsm, libx11, libxt.

## Combined YAML source

View the package source record on GitHub. [combined/ncview.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ncview.yml)


## 来源

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