# 使用 Homebrew, apt, dnf, Nix 安装 calceph

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

## 安装

```sh
sudo av install brew:calceph
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install calceph
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install calceph
```

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

- dnf (92%):

```sh
sudo dnf install calceph
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#calceph
```

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

## 软件包事实

- **软件包键:** brew:calceph
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/calceph>
- **版本:** 5.0.0
- **来源摘要:** C library to access the binary planetary ephemeris files
- **主页:** <https://calceph.imcce.fr>
- **仓库:** <https://gitlab.obspm.fr/imcce_calceph/calceph>
- **上游文档:** <https://calceph.imcce.fr/documentations/latest>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://www.imcce.fr/content/medias/recherche/equipes/asd/calceph/calceph-5.0.0.tar.gz>
- **最后更新:** 2026-07-07T11:54:52Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- calceph_inspector (cli)
- calceph_queryorientation (cli)
- calceph_queryposition (cli)
- calceph_inspector (别名)
- calceph_queryorientation (别名)
- calceph_queryposition (别名)

## 依赖

- gcc

## 构建依赖

- cmake

## 安装行为

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

## 版本和新鲜度

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

CALCEPH is an IMCCE scientific-computing library and set of tools for reading binary planetary ephemeris files such as INPOP, JPL DE, and SPICE kernels. It is a package-manager-visible bridge between astronomical ephemeris data formats and C, Fortran, Python, Octave, and Matlab applications.

### 项目历史

The IMCCE project page describes CALCEPH as a library designed to access binary planetary ephemeris files, including INPOPxx, JPL DExxx, and SPICE files. The official release notes begin with version 1.0.0 as the initial release and show a steady expansion from C/Fortran access into SPICE support, Python bindings, Octave/Matlab support, Sphinx documentation, and CMake builds.

Version 2.0.0 was a major technical step: it added SPICE kernel support, `calceph_inspector`, multiple-file opening, unit-aware computation, and performance improvements. Later releases added Python support in 2.3.0, INPOP format 3.0 support and Sphinx documentation in 3.0.0, Octave/Matlab support in 3.1.0, thread-safety reporting and additional SPICE segment support in 3.4.x, and CMake in 4.0.0.

### 采用历史

CALCEPH is adopted in astronomy and astrodynamics workflows where reproducible package installation matters as much as numerical correctness. The official page lists source downloads, the GitLab development repository, IMCCE package instructions, PyPI packaging for the Python interface, Homebrew on macOS, vcpkg and MSYS2 on Windows, FreeBSD, Debian, Ubuntu, Fedora/RHEL/Rocky, Arch, and openSUSE-related packaging references.

Because it supports INPOP, JPL DE, and SPICE data, CALCEPH sits between institutional ephemeris producers and downstream scientific applications. Its package adoption is therefore less about general CLI popularity and more about making a specialized, tested library available across research operating systems.

### 使用方式

Developers link against the C or Fortran library, use the Python module, or call the Octave/Matlab interface to compute positions, velocities, orientations, time spans, constants, and metadata from ephemeris files. The Homebrew package also exposes inspection and query tools such as `calceph_inspector`, `calceph_queryposition`, and `calceph_queryorientation`.

Typical use is non-interactive scientific computation: install the library, obtain ephemeris files, open one or more files through CALCEPH, and query bodies, frames, or constants at requested epochs.

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

CALCEPH is significant because it packages a domain-specific binary data reader with ABI/API commitments across several language bindings. For scientific package maintainers, that means compilers, Fortran interfaces, Python/Cython compatibility, Octave/Matlab integration, and ephemeris-file correctness all matter in one small package.

It also demonstrates why niche packages deserve history: a formula like `calceph` encodes a long chain of institutional data formats, space-science standards, and cross-platform binary compatibility work.

### 时间线

- 1.0.0: Initial CALCEPH release.
- 1.0.3: Added support for JPL ephemeris file DE423.
- 2.0.0: Added SPICE kernel support, multiple-file access, `calceph_inspector`, and performance improvements.
- 2.3.0: Added the Python interface for Python 2.6+ and Python 3.
- 3.0.0: Added INPOP file format 3.0 support and Sphinx-generated documentation.
- 3.1.0: Added Octave 4.0+ and Matlab 2017+ Mex interface.
- 4.0.0: Switched to CMake, with source compatibility but potential binary ABI breakage.
- 2025: IMCCE page lists CALCEPH 4.0.5 as the latest stable source release.

### Related projects

- Related projects and data families include INPOP, JPL DE ephemerides, NAIF SPICE kernels, NASA SPICE tooling, astropy-adjacent Python astronomy workflows, and other ephemeris readers used in celestial mechanics and mission-analysis software.

### 来源

- <https://calceph.imcce.fr/docs/latest/html/c/calceph.final.html>
- <https://calceph.imcce.fr/documentations/latest/>
- <https://gitlab.obspm.fr/imcce_calceph/calceph>
- <https://www.imcce.fr/inpop/calceph>


## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- library-like package without higher-risk signals

## 源数据库详情

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

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

- Debian apt - calceph - 4.0.4-2: normalized package name match | Debian stable package indexes: calceph from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Planetary ephemeris data access tools | https://www.imcce.fr/inpop/calceph
- Debian apt - libcalceph-dev - 4.0.4-2: normalized package name match | Debian stable package indexes: libcalceph-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C development files for planetary ephemeris data access | https://www.imcce.fr/inpop/calceph
- Debian apt - libcalceph-fortran-dev - 4.0.4-2: normalized package name match | Debian stable package indexes: libcalceph-fortran-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fortran bindings for the CALCEPH library | https://www.imcce.fr/inpop/calceph
- Debian apt - libcalceph2 - 4.0.4-2: normalized package name match | Debian stable package indexes: libcalceph2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Shared library for planetary ephemeris data access | https://www.imcce.fr/inpop/calceph
- Nix - calceph: normalized package name match | nixpkgs package indexes: pkgs/by-name/ca/calceph/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - calceph - 4.0.5-4.fc44: normalized package name match | Fedora Rawhide package metadata: calceph from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Astronomical library to access planetary ephemeris files | https://www.imcce.fr/inpop/calceph
- dnf - calceph-devel - 4.0.5-4.fc44: normalized package name match | Fedora Rawhide package metadata: calceph-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development files for calceph | https://www.imcce.fr/inpop/calceph
- dnf - calceph-fortran-devel - 4.0.5-4.fc44: normalized package name match | Fedora Rawhide package metadata: calceph-fortran-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development files for using calceph Fortran bindings | https://www.imcce.fr/inpop/calceph
- dnf - calceph-libs - 4.0.5-4.fc44: normalized package name match | Fedora Rawhide package metadata: calceph-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | calceph shared libraries | https://www.imcce.fr/inpop/calceph


## 相关链接

- [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.
- [Homebrew utility packages](https://www.automicvault.com/zh-hans/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [gcc](https://www.automicvault.com/zh-hans/pkg/brew/gcc/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/zh-hans/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [cfitsio](https://www.automicvault.com/zh-hans/pkg/brew/cfitsio/) - Shares av.db curated category or tags: astronomy, c-library, cli, fortran, science.
- [healpix](https://www.automicvault.com/zh-hans/pkg/brew/healpix/) - Shares av.db curated category or tags: astronomy, cli, science, scientific-computing.
- [libnova](https://www.automicvault.com/zh-hans/pkg/brew/libnova/) - Shares av.db curated category or tags: astronomy, c-library, cli, science.
- [ccfits](https://www.automicvault.com/zh-hans/pkg/brew/ccfits/) - Shares av.db curated category or tags: astronomy, cli, science.
- [cdsclient](https://www.automicvault.com/zh-hans/pkg/brew/cdsclient/) - Shares av.db curated category or tags: astronomy, cli, science.
- [gnuastro](https://www.automicvault.com/zh-hans/pkg/brew/gnuastro/) - Shares av.db curated category or tags: astronomy, cli, science.
- [montage](https://www.automicvault.com/zh-hans/pkg/brew/montage/) - Shares av.db curated category or tags: astronomy, cli, science.
- [phoon](https://www.automicvault.com/zh-hans/pkg/brew/phoon/) - Shares av.db curated category or tags: astronomy, cli, science.
- [libxc](https://www.automicvault.com/zh-hans/pkg/brew/libxc/) - Local package facts share a topical domain. Shared terms: cli, computing, gcc, science, scientific.

## Combined YAML source

View the package source record on GitHub. [combined/calceph.yml](https://github.com/automic-vault/db/blob/main/combined/calceph.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
