# Install ccfits with Homebrew, MacPorts, pacman, apt, dnf, zypper

Object oriented interface to the cfitsio library. Version 2.7 via Homebrew; verified from local package data. Also installable with debian: sudo apt install libccfits-dev.

## Install

```sh
sudo av install brew:ccfits
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ccfits
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ccfits
```

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

### Linux

- pacman (92%):

```sh
sudo pacman -S ccfits
```

  Evidence: Arch Linux sync databases: ccfits from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install libccfits-dev
```

  Evidence: Debian stable package indexes: libccfits-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install CCfits
```

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

- zypper (92%):

```sh
sudo zypper install CCfits-devel
```

  Evidence: openSUSE Tumbleweed package metadata: CCfits-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Package facts

- **Package key:** brew:ccfits
- **Package manager:** Homebrew
- **Version:** 2.7
- **Source summary:** Object oriented interface to the cfitsio library
- **Homepage:** <https://heasarc.gsfc.nasa.gov/docs/software/fitsio/CCfits/>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- cookbook (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.7
## Project history and usage

CCfits is NASA HEASARC's C++ wrapper library for CFITSIO, providing an object-oriented interface for manipulating FITS astronomy data files.

### Project history

The official documentation says CCfits was written as part of a re-engineering effort for XSPEC, the X-Ray data analysis program. It was designed with Rational Rose, originally implemented on Solaris, and later ported to Windows 2000/VC++.net with contributions from named collaborators.

### Adoption history

The supplied package facts show CCfits packaged as a development library across Homebrew, Debian/Ubuntu, Fedora, MacPorts, Arch, and openSUSE. That adoption mirrors CFITSIO and FITS' role as common infrastructure in astronomical data processing.

### How it is used

CCfits users create FITS objects, open or create disk files, obtain HDU references, and manipulate data through higher-level C++ objects rather than making lower-level CFITSIO calls for each operation.

### Why package nerds care

CCfits is important to package maintainers because it is not a flashy CLI but a scientific development dependency. Keeping it packaged lets astronomy and high-energy astrophysics software build against a stable C++ abstraction over the long-lived FITS/CFITSIO stack.

### Timeline

- XSPEC re-engineering era: CCfits written as part of an XSPEC re-engineering effort.
- 2025: Official documentation lists CCfits version 2.7 and release notes for March 2025.

### Related projects

- The official documentation ties CCfits directly to CFITSIO, FITS, HEASARC, and XSPEC.

### Sources

- <https://heasarc.gsfc.nasa.gov/docs/software/fitsio/CCfits/>
- <https://heasarc.gsfc.nasa.gov/docs/software/fitsio/ccfits>
- <https://heasarc.gsfc.nasa.gov/docs/software/fitsio/ccfits/html/index.html>
- <https://formulae.brew.sh/api/formula/ccfits.json>


## Security Notes

library-like package without higher-risk signals.

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

## Other Package-Manager Records

- Debian apt - libccfits-dev - 2.7+dfsg-1: normalized package name match | Debian stable package indexes: libccfits-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | static library for I/O with FITS format data files | http://heasarc.gsfc.nasa.gov/fitsio/CCfits/
- Debian apt - libccfits-doc - 2.7+dfsg-1: normalized package name match | Debian stable package indexes: libccfits-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | documentation for CCfits | http://heasarc.gsfc.nasa.gov/fitsio/CCfits/
- Debian apt - libccfits0v5 - 2.7+dfsg-1: normalized package name match | Debian stable package indexes: libccfits0v5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | shared library for I/O with FITS format data files | http://heasarc.gsfc.nasa.gov/fitsio/CCfits/
- Ubuntu apt - libccfits-dev - 2.6+dfsg-1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: libccfits-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | static library for I/O with FITS format data files | http://heasarc.gsfc.nasa.gov/fitsio/CCfits/
- Ubuntu apt - libccfits-doc - 2.6+dfsg-1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: libccfits-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | documentation for CCfits | http://heasarc.gsfc.nasa.gov/fitsio/CCfits/
- Ubuntu apt - libccfits0t64 - 2.6+dfsg-1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: libccfits0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | shared library for I/O with FITS format data files | http://heasarc.gsfc.nasa.gov/fitsio/CCfits/
- dnf - CCfits - 2.7-5.fc45: normalized package name match | Fedora Rawhide package metadata: CCfits from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A C++ interface for cfitsio | http://heasarc.gsfc.nasa.gov/docs/software/fitsio/ccfits
- dnf - CCfits-devel - 2.7-5.fc45: normalized package name match | Fedora Rawhide package metadata: CCfits-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Headers for developing programs that will use CCfits | http://heasarc.gsfc.nasa.gov/docs/software/fitsio/ccfits
- dnf - CCfits-doc - 2.7-5.fc45: normalized package name match | Fedora Rawhide package metadata: CCfits-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documentation for CCfits, includes full API docs | http://heasarc.gsfc.nasa.gov/docs/software/fitsio/ccfits
- pacman - ccfits - 2.7-1: normalized package name match | Arch Linux sync databases: ccfits from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Object Oriented Interface to the CFITSIO Library | https://heasarc.gsfc.nasa.gov/docs/software/fitsio/ccfits/
- zypper - CCfits-devel - 2.7-2.5: normalized package name match | openSUSE Tumbleweed package metadata: CCfits-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for CCfits | https://heasarc.gsfc.nasa.gov/docs/software/fitsio/ccfits/
- zypper - libCCfits2_7 - 2.7-2.5: normalized package name match | openSUSE Tumbleweed package metadata: libCCfits2_7 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | An object oriented interface to the cfitsio library | https://heasarc.gsfc.nasa.gov/docs/software/fitsio/ccfits/
- MacPorts - ccfits: normalized package name match | MacPorts ports tree: science/ccfits/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/ccfits.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ccfits.yml)


## Sources

- 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
