# 使用 Homebrew, MacPorts, zypper 安装 cspice

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

## 安装

```sh
sudo av install brew:cspice
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cspice
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cspice
```

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

### Linux

- zypper (92%):

```sh
sudo zypper install chronos
```

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

## 软件包事实

- **软件包键:** brew:cspice
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/cspice>
- **版本:** 67
- **来源摘要:** Observation geometry system for robotic space science missions
- **主页:** <https://naif.jpl.nasa.gov/naif/toolkit.html>
- **上游文档:** <https://naif.jpl.nasa.gov/naif/toolkit.html>
- **许可证:** LicenseRef-Homebrew-cannot-represent
- **源码归档:** <https://naif.jpl.nasa.gov/pub/naif/toolkit/C/MacIntel_OSX_AppleC_64bit/packages/cspice.tar.Z>
- **最后更新:** 2026-06-22T14:03:06-07:00
- **已生成:** 2026-07-10T07:20:53+00:00

## 可执行文件

- brief (cli)
- chronos (cli)
- ckbrief (cli)
- commnt (cli)
- dskbrief (cli)
- dskexp (cli)
- frmdiff (cli)
- inspekt (cli)
- mkdsk (cli)
- mkspk (cli)
- msopck (cli)
- spacit (cli)
- spkdiff (cli)
- spkmerge (cli)
- subpt (cli)
- tictoc (cli)
- tobin (cli)
- toxfr (cli)
- version (cli)
- brief (别名)
- chronos (别名)
- ckbrief (别名)
- commnt (别名)
- dskbrief (别名)
- dskexp (别名)
- frmdiff (别名)
- inspekt (别名)
- mkdsk (别名)
- mkspk (别名)
- msopck (别名)
- spacit (别名)
- spkdiff (别名)
- spkmerge (别名)
- subpt (别名)
- tictoc (别名)
- tobin (别名)
- toxfr (别名)
- version (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-07-10
- 管理器版本: 67
- 管理器更新时间: 2026-06-22
- 本地数据: OK
- 上游仓库: https://naif.jpl.nasa.gov/naif/toolkit.html
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

CSPICE is the C implementation of NASA/JPL NAIF's SPICE Toolkit, a long-lived observation-geometry system used with spacecraft, planetary, instrument, pointing, event, and other ancillary data for space-science missions.

### 项目历史

SPICE grew out of NASA data-archiving work after the 1982 CODMAC report called attention to the ancillary engineering information needed to fully interpret space-science observations. NAIF's official history describes a 1983 Planetary Data Workshop, later refinement under Hugh Kieffer and Charles Acton, and Kieffer coining the SPICE acronym for Spacecraft, Planet, Instrument, C-matrix, and Events.

The first implementation efforts supported Voyager instrument teams as a proof of concept, but the file formats from those demonstrations did not survive. NAIF says the lessons from that work guided the design of modern SPICE kernels.

The first official partial use of SPICE technology was on Magellan, where spacecraft orbit data was produced in SPK format. Mars Observer and Galileo then studied SPICE as a replacement for older Supplemental Experiment Data Records, after which SPICE became the de facto standard for ancillary data on NASA solar-system exploration missions.

CSPICE is the C-language Toolkit line within that system. NAIF's Toolkit page presents C alongside Fortran, IDL, MATLAB, and alpha JNI toolkits; the C documentation index identifies CSPICE-specific introductory material, API references, required reading documents, user guides, and release notes.

### 采用历史

NAIF describes SPICE as used throughout the life cycle of NASA planetary science missions: mission design, observation planning, science-data analysis, and engineering support. The NAIF team also serves as the ancillary-data node of NASA's Planetary Data System, leading review and archiving of SPICE products from NASA planetary flight projects.

CSPICE's adoption extends beyond direct NASA use because third-party wrappers in languages such as Python and Ruby build on the C Toolkit. For Unix package managers, CSPICE supplies the library, headers, and utilities needed by scientists, instrument teams, ephemeris users, and downstream bindings that work with SPICE kernels.

### 使用方式

The Toolkit includes source APIs with extensive headers, a ready-to-use library, bundled utility programs, technical reference documents, examples, and user guides. Package users commonly load kernels and call CSPICE APIs from C or wrappers to compute observation geometry, times, reference frames, positions, attitudes, and event relationships.

The packaged command-line utilities are part of the practical appeal: tools such as brief, chronos, ckbrief, mkspk, spkdiff, and spkmerge inspect, create, compare, and merge SPICE kernel data. Matching Toolkit versions and supported platform/compiler combinations matters because NAIF warns that unsupported ports can encounter numerical and optimization problems.

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

CSPICE is unusual in package-manager culture because the authoritative upstream is a NASA distribution site rather than a public source-control forge. Packaging it gives scientific workflows a repeatable way to install a mission-critical library and a known set of utilities from an upstream that treats documentation, kernels, and binary/source Toolkit packages as the distribution unit.

The package also anchors a larger ecosystem. Many users never write C directly, but Python, Ruby, IDL, MATLAB, and mission-specific tools often depend on CSPICE concepts, kernels, and version behavior.

### 时间线

- 1982: CODMAC report identifies the need to preserve ancillary engineering information with NASA space-science data.
- 1983: Planetary Data Workshop helps shape the ancillary information system that becomes SPICE.
- 1980s: Voyager-related proof-of-concept work informs modern SPICE kernel design.
- Magellan era: SPICE SPK format receives its first official partial mission use.
- Mars Observer/Galileo era: SPICE is selected over older SEDR-style ancillary records for major missions.
- 2022: SPICE Toolkit N0067 is released on 2022-01-03.

### Related projects

- CSPICE is related to NAIF's Fortran SPICELIB, Icy for IDL, Mice for MATLAB, the alpha JNI Toolkit, WebGeocalc, Cosmographia, mission SPICE kernel archives, and third-party wrappers built on the C Toolkit.

### 来源

- <https://naif.jpl.nasa.gov/naif/about.html>
- <https://naif.jpl.nasa.gov/naif/spicehistory.html>
- <https://naif.jpl.nasa.gov/naif/toolkit.html>
- <https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/index.html>


## 安全说明

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:** cspice
- **Version Scheme:** 0
- **Revision:** 0
- **Conflicts With:** enscript, openhmd, pwntools
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- MacPorts - cspice: normalized package name match | MacPorts ports tree: science/cspice/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- zypper - chronos - 0.1.5+17-1.4: installed executable or alias match | openSUSE Tumbleweed package metadata: chronos from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Chronos is a simple Pomodoro timer | https://github.com/cosmic-utils/Chronos


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Scientific computing packages](https://www.automicvault.com/zh-hans/pkg/scientific-computing-tools/) - Matched scientific computing metadata.
- [Web development packages](https://www.automicvault.com/zh-hans/pkg/web-dev-tools/) - Matched web development metadata.
- [calceph](https://www.automicvault.com/zh-hans/pkg/brew/calceph/) - Shares av.db curated category or tags: cli, ephemeris, science.
- [geomview](https://www.automicvault.com/zh-hans/pkg/brew/geomview/) - Shares av.db curated category or tags: cli, geometry, science.
- [geos](https://www.automicvault.com/zh-hans/pkg/brew/geos/) - Shares av.db curated category or tags: cli, geometry, science.
- [ngspice](https://www.automicvault.com/zh-hans/pkg/brew/ngspice/) - Shares av.db curated category or tags: cli, science, spice.
- [aamath](https://www.automicvault.com/zh-hans/pkg/brew/aamath/) - Shares av.db curated category or tags: cli, science.
- [abpoa](https://www.automicvault.com/zh-hans/pkg/brew/abpoa/) - Shares av.db curated category or tags: cli, science.
- [abricate](https://www.automicvault.com/zh-hans/pkg/brew/abricate/) - Shares av.db curated category or tags: cli, science.
- [abyss](https://www.automicvault.com/zh-hans/pkg/brew/abyss/) - Shares av.db curated category or tags: cli, science.

## Combined YAML source

View the package source record on GitHub. [combined/cspice.yml](https://github.com/automic-vault/db/blob/main/combined/cspice.yml)


## 来源

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