# 使用 Homebrew, apt, dnf, MacPorts, pacman, zypper 安装 ccfits

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ccfits
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ccfits
```

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

### Linux

- Debian apt (92%):

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

  证据: 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
```

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

- pacman (92%):

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

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

- zypper (92%):

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

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

## 软件包事实

- **软件包键:** brew:ccfits
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ccfits>
- **版本:** 2.7
- **来源摘要:** Object oriented interface to the cfitsio library
- **主页:** <https://heasarc.gsfc.nasa.gov/docs/software/fitsio/CCfits/>
- **上游文档:** <https://heasarc.gsfc.nasa.gov/docs/software/fitsio/ccfits>
- **许可证:** CFITSIO
- **源码归档:** <https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/ccfits/v2.7/CCfits-2.7.tar.gz>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- cookbook (cli)
- cookbook (别名)

## 依赖

- cfitsio

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.7
- 本地数据: OK
- 上游仓库: https://heasarc.gsfc.nasa.gov/docs/software/fitsio/CCfits/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

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

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

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

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.

### 时间线

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

### 来源

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


## 安全说明

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:** ccfits
- **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 - 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-4.fc44: normalized package name match | Fedora Rawhide package metadata: CCfits from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A C++ interface for cfitsio | http://heasarc.gsfc.nasa.gov/docs/software/fitsio/ccfits
- dnf - CCfits-devel - 2.7-4.fc44: 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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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-4.fc44: 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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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.3: normalized package name match | openSUSE Tumbleweed package metadata: CCfits-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Development files for CCfits | https://heasarc.gsfc.nasa.gov/docs/software/fitsio/ccfits/
- zypper - libCCfits2_7 - 2.7-2.3: normalized package name match | openSUSE Tumbleweed package metadata: libCCfits2_7 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://www.automicvault.com/zh-hans/pkg/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [cfitsio](https://www.automicvault.com/zh-hans/pkg/brew/cfitsio/) - Runtime dependency declared by Homebrew.
- [gnuastro](https://www.automicvault.com/zh-hans/pkg/brew/gnuastro/) - Shares av.db curated category or tags: astronomy, cli, fits, science.
- [montage](https://www.automicvault.com/zh-hans/pkg/brew/montage/) - Shares av.db curated category or tags: astronomy, cli, fits, science.
- [wcslib](https://www.automicvault.com/zh-hans/pkg/brew/wcslib/) - Shares av.db curated category or tags: astronomy, cli, fits, science.
- [wcstools](https://www.automicvault.com/zh-hans/pkg/brew/wcstools/) - Shares av.db curated category or tags: astronomy, cli, fits, science.
- [calceph](https://www.automicvault.com/zh-hans/pkg/brew/calceph/) - 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.
- [healpix](https://www.automicvault.com/zh-hans/pkg/brew/healpix/) - Shares av.db curated category or tags: astronomy, cli, science.

## Combined YAML source

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