# Install calceph with Homebrew, apt, dnf, Nix

C library to access the binary planetary ephemeris files. Version 5.0.0 via Homebrew; verified 2026-07-07.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install calceph
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install calceph
```

  Evidence: 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
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:calceph
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/calceph>
- **Version:** 5.0.0
- **Source summary:** C library to access the binary planetary ephemeris files
- **Homepage:** <https://calceph.imcce.fr>
- **Repository:** <https://gitlab.obspm.fr/imcce_calceph/calceph>
- **Upstream docs:** <https://calceph.imcce.fr/documentations/latest>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://www.imcce.fr/content/medias/recherche/equipes/asd/calceph/calceph-5.0.0.tar.gz>
- **Last updated:** 2026-07-07T11:54:52Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- calceph_inspector (cli)
- calceph_queryorientation (cli)
- calceph_queryposition (cli)
- calceph_inspector (alias)
- calceph_queryorientation (alias)
- calceph_queryposition (alias)

## Dependencies

- gcc

## Build dependencies

- cmake

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 5.0.0
- Package-manager updated: 2026-07-07
- Local data: ok
- Upstream repository: https://calceph.imcce.fr
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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>


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Source Database Details

- **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

## Other Package-Manager Records

- 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


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Scientific computing packages](https://www.automicvault.com/pkg/scientific-computing-tools/) - Matched scientific computing metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [gcc](https://www.automicvault.com/pkg/brew/gcc/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [cfitsio](https://www.automicvault.com/pkg/brew/cfitsio/) - Shares av.db curated category or tags: astronomy, c-library, cli, fortran, science.
- [healpix](https://www.automicvault.com/pkg/brew/healpix/) - Shares av.db curated category or tags: astronomy, cli, science, scientific-computing.
- [libnova](https://www.automicvault.com/pkg/brew/libnova/) - Shares av.db curated category or tags: astronomy, c-library, cli, science.
- [ccfits](https://www.automicvault.com/pkg/brew/ccfits/) - Shares av.db curated category or tags: astronomy, cli, science.
- [cdsclient](https://www.automicvault.com/pkg/brew/cdsclient/) - Shares av.db curated category or tags: astronomy, cli, science.
- [gnuastro](https://www.automicvault.com/pkg/brew/gnuastro/) - Shares av.db curated category or tags: astronomy, cli, science.
- [montage](https://www.automicvault.com/pkg/brew/montage/) - Shares av.db curated category or tags: astronomy, cli, science.
- [phoon](https://www.automicvault.com/pkg/brew/phoon/) - Shares av.db curated category or tags: astronomy, cli, science.
- [libxc](https://www.automicvault.com/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)


## Sources

- 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
