# 使用 Homebrew, apt, dnf, MacPorts, Nix, zypper 安装 gnuastro

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

## 安装

```sh
sudo av install brew:gnuastro
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gnuastro
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gnuastro
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install gnuastro
```

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

- dnf (92%):

```sh
sudo dnf install gnuastro
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#gnuastro
```

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

- zypper (92%):

```sh
sudo zypper install gnuastro
```

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

## 软件包事实

- **软件包键:** brew:gnuastro
- **软件包管理器:** Homebrew
- **版本:** 0.24
- **来源摘要:** Astronomical data manipulation and analysis utilities and libraries
- **主页:** <https://www.gnu.org/software/gnuastro/>
- **最后更新:** 2026-06-22T14:03:36-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- astarithmetic (别名)
- astbuildprog (别名)
- astconvertt (别名)
- astconvolve (别名)
- astcosmiccal (别名)
- astcrop (别名)
- astfits (别名)
- astmatch (别名)
- astmkcatalog (别名)
- astmkprof (别名)
- astnoisechisel (别名)
- astquery (别名)
- astscript-color-faint-gray (别名)
- astscript-ds9-region (别名)
- astscript-fits-view (别名)
- astscript-pointing-simulate (别名)
- astscript-psf-scale-factor (别名)
- astscript-psf-select-stars (别名)
- astscript-psf-stamp (别名)
- astscript-psf-subtract (别名)
- astscript-psf-unite (别名)
- astscript-radial-profile (别名)
- astscript-sort-by-night (别名)
- astscript-zeropoint (别名)
- astsegment (别名)
- aststatistics (别名)
- asttable (别名)
- astwarp (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.24
## 项目历史与用法

GNU Astronomy Utilities, usually called Gnuastro, is an official GNU package for astronomical data manipulation and analysis. Unlike a single-purpose astronomy command, it is a suite of command-line programs and libraries with a shared interface for FITS images, tables, catalogs, image arithmetic, convolution, astrometry-aware warping, source detection, segmentation, statistics, and reproducible research workflows.

### 项目历史

Gnuastro was created by Mohammad Akhlaghi and became part of the GNU software ecosystem in the mid-2010s. The GNU project page describes it as an official GNU package and notes that by 2026 it was 11 years old; the page copyright range begins in 2015, and the project presents its GNU coding-standards alignment as central to how astronomers build, inspect, install, and script it.

The project grew out of astronomical image-analysis work and research funding. The manual credits Mohammad Akhlaghi's MEXT-supported graduate work at Tohoku University for the long-term planning that made the idea possible, ERC MUSICOS support at CRAL for a major rewrite into a larger generic collection, and later work at IAC and CEFCA for maturation and user-base growth.

Gnuastro deliberately treats command-line reproducibility as a scientific feature. Its programs share option conventions, Info/manual organization, citation support, and a development workflow on GNU Savannah, so the package functions as both application suite and library platform for building more astronomy tools.

### 采用历史

The project page points to package-manager availability, Conda availability, public videos, Matrix rooms, mailing lists, and citation statistics as signs of adoption in astronomy. It is also registered in the Astrophysics Source Code Library, and the project asks researchers to cite Gnuastro papers, program-specific papers, or versioned manual DOIs when it contributes to published work.

Gnuastro's adoption is strongest among researchers who need transparent, scriptable FITS and catalog processing rather than opaque GUI-only pipelines. Its tooling fits Unix pipelines, Makefiles, shell scripts, and reproducible paper workflows where the exact command and version can be archived.

### 使用方式

Practitioners use tools such as astnoisechisel, astsegment, astmkcatalog, astcrop, astwarp, astfits, asttable, aststatistics, and astarithmetic to process images and tables from the shell. The manual encourages program-specific Info pages, --help output, man pages, and --cite output so users can learn invocation details and record scholarly attribution.

In research workflows, Gnuastro is used for source detection, low-surface-brightness work, catalog generation, image alignment, FITS inspection, table operations, and scripting larger pipelines. Developers can also build against its libraries or use its templates to add new programs inside the project style.

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

Gnuastro is significant because it imports the GNU command-line model into a domain often dominated by large interactive environments. Package maintainers care about it as a serious science stack member with explicit dependencies on GSL, CFITSIO, and WCSLIB, while astronomy users get small composable binaries instead of one monolithic workbench.

### 时间线

- 2015: GNU page copyright begins and the project describes Gnuastro as part of the GNU software set.
- 2021: A public ADASS tutorial demonstrated Gnuastro workflows.
- 2024: Manual 0.23 documents acknowledgments, authorship, and institutional support.
- 2026: The GNU page describes Gnuastro as 11 years old and points users to citation tracking and ASCL registration.

### Related projects

- Related projects and dependencies include GNU Scientific Library, CFITSIO, WCSLIB, Astrophysics Source Code Library, NASA ADS/SciX, OpenAstronomy community rooms, and astronomy workflow tools built around FITS data.

### 来源

- <https://ascl.net/1801.009>
- <https://www.gnu.org/software/gnuastro/>
- <https://www.gnu.org/software/gnuastro/manual/>
- <https://www.gnu.org/software/gnuastro/manual/html_node/Acknowledgments.html>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

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

- Debian apt - gnuastro - 0.23-2+b3: normalized package name match | Debian stable package indexes: gnuastro from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU Astronomy Utilities programs | https://www.gnu.org/software/gnuastro
- Debian apt - libgnuastro-dev - 0.23-2+b3: normalized package name match | Debian stable package indexes: libgnuastro-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU Astronomy Utilities development files | https://www.gnu.org/software/gnuastro
- Debian apt - libgnuastro21 - 0.23-2+b3: normalized package name match | Debian stable package indexes: libgnuastro21 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU Astronomy Utilities shared libraries | https://www.gnu.org/software/gnuastro
- Nix - gnuastro: normalized package name match | nixpkgs package indexes: pkgs/by-name/gn/gnuastro/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gnuastro - 0.22-3.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: gnuastro from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GNU Astronomy Utilities programs | https://www.gnu.org/software/gnuastro
- Ubuntu apt - libgnuastro-dev - 0.22-3.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libgnuastro-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GNU Astronomy Utilities development files | https://www.gnu.org/software/gnuastro
- Ubuntu apt - libgnuastro20t64 - 0.22-3.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libgnuastro20t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GNU Astronomy Utilities shared libraries | https://www.gnu.org/software/gnuastro
- dnf - gnuastro - 0.23-5.fc45: normalized package name match | Fedora Rawhide package metadata: gnuastro from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | GNU Astronomy Utilities | https://www.gnu.org/software/gnuastro/
- dnf - gnuastro-devel - 0.23-5.fc45: normalized package name match | Fedora Rawhide package metadata: gnuastro-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for gnuastro | https://www.gnu.org/software/gnuastro/
- dnf - gnuastro-doc - 0.23-5.fc45: normalized package name match | Fedora Rawhide package metadata: gnuastro-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documentation files for gnuastro | https://www.gnu.org/software/gnuastro/
- zypper - gnuastro - 0.24-1.5: normalized package name match | openSUSE Tumbleweed package metadata: gnuastro from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | GNU Astronomy Utilities | https://www.gnu.org/software/gnuastro/
- zypper - gnuastro-bash-completion - 0.24-1.5: normalized package name match | openSUSE Tumbleweed package metadata: gnuastro-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash completion for gnuastro | https://www.gnu.org/software/gnuastro/
- zypper - gnuastro-devel - 0.24-1.5: normalized package name match | openSUSE Tumbleweed package metadata: gnuastro-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for gnuastro | https://www.gnu.org/software/gnuastro/
- zypper - gnuastro-doc - 0.24-1.5: normalized package name match | openSUSE Tumbleweed package metadata: gnuastro-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Documentation for the GNU Astromomy Utilities | https://www.gnu.org/software/gnuastro/
- zypper - libgnuastro22 - 0.24-1.5: normalized package name match | openSUSE Tumbleweed package metadata: libgnuastro22 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Libraries for the GNU Astronomy Utilities | https://www.gnu.org/software/gnuastro/
- MacPorts - gnuastro: normalized package name match | MacPorts ports tree: science/gnuastro/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/gnuastro.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gnuastro.yml)


## 来源

- 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
