# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 ginac

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

## 安装

```sh
sudo av install brew:ginac
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ginac
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install GiNaC
```

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

### Linux

- apk (92%):

```sh
sudo apk add ginac
```

  证据: Alpine Linux edge package indexes: ginac from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install ginac-tools
```

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

- dnf (92%):

```sh
sudo dnf install ginac
```

  证据: Fedora Rawhide package metadata: ginac 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#ginac
```

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

- pacman (92%):

```sh
sudo pacman -S ginac
```

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

- zypper (92%):

```sh
sudo zypper install ginac
```

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

## 软件包事实

- **软件包键:** brew:ginac
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ginac>
- **版本:** 1.8.10
- **来源摘要:** Not a Computer algebra system
- **主页:** <https://www.ginac.de/>
- **仓库:** <https://codeberg.org/GiNaC/ginac>
- **上游文档:** <https://www.ginac.de/reference>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://www.ginac.de/ginac-1.8.10.tar.bz2>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- ginsh (cli)
- viewgar (cli)
- ginsh (别名)
- viewgar (别名)

## 依赖

- cln
- python@3.14
- readline

## 构建依赖

- pkgconf

## 安装行为

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

## 版本和新鲜度

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

GiNaC is a C++ symbolic-computation library whose name expands recursively to GiNaC is Not a CAS. It embeds algebraic manipulation into C++ programs instead of presenting a separate computer-algebra language.

### 项目历史

The project was developed as a replacement symbolic engine for xloops, which had previously depended on Maple. Its official site describes the design as a deliberate departure from traditional computer algebra systems: GiNaC accepts C++ as the programming language and adds symbolic expression types, functions, matrices, series, polynomial operations, and output facilities.

GiNaC reached 1.0.0 in November 2001 after a sequence of 0.x releases. The authors published an article introducing the framework in the Journal of Symbolic Computation era, and the tutorial continues to present it as an open framework for symbolic computation within C++.

The project has had long maintenance across changing C++ standards and scientific-computing needs. The news log records major API and implementation shifts such as C++11 adoption in the 1.7 series, iterated-integral work in the 1.8 series, and a primary repository move to Codeberg in February 2026.

### 采用历史

GiNaC has significance in high-energy-physics and symbolic-computation tooling because it was written to support Feynman-integral work while remaining a reusable C++ library. Its official download page notes packages in Debian, SuSE, Fedora, and FreeBSD, and the Homebrew metadata adds another Unix-like packaging channel.

The library depends on CLN for number types and benefits from CLN's arbitrary-precision integer and rational arithmetic. That relationship made GiNaC part of a small but durable stack for C++ programs needing exact algebra without embedding a full external CAS.

### 使用方式

Practitioners include GiNaC headers in C++ programs, construct symbolic expressions, and use library calls for differentiation, expansion, series, polynomial factorization, GCD, symbolic matrices, linear solving, and generated output. The ginsh executable gives package users an interactive shell for exploring expressions without writing a full C++ program.

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

GiNaC matters to package maintainers because it combines a library ABI, a CLI shell, generated documentation, CLN dependency management, and distribution packaging across Unix-like systems. Its long release log also shows the maintenance burden of keeping symbolic C++ libraries buildable across compiler, standard-library, and platform changes.

### 时间线

- 1999: 0.4.0 appeared in the public news log.
- 2001: 1.0.0 was released.
- 2002: The introductory GiNaC framework paper was published in the Journal of Symbolic Computation period.
- 2016: 1.7.0 adopted C++11 features and removed older C++98-era machinery.
- 2020: 1.8.0 added numerical routines for iterated integrals and improved CMake support.
- 2026: The primary Git repository moved to Codeberg.

### Related projects

- The official site links GiNaC with xloops, Maple, CLN, pyGiNaC, and broader computer-algebra-system practice.

### 来源

- <https://www.ginac.de/>
- <https://www.ginac.de/About.html>
- <https://www.ginac.de/Download.html>
- <https://www.ginac.de/News.html>
- <https://www.ginac.de/csSC-0004015.pdf>
- <https://www.ginac.de/tutorial/>


## 安全说明

narrow executable package without higher-risk signals.

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ginac
- **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 - ginac-tools - 1.8.8-1+b1: normalized package name match | Debian stable package indexes: ginac-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GiNaC symbolic framework support tools | http://www.ginac.de/
- Debian apt - libginac-dev - 1.8.8-1+b1: normalized package name match | Debian stable package indexes: libginac-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GiNaC symbolic framework development files | http://www.ginac.de/
- Debian apt - libginac13 - 1.8.8-1+b1: normalized package name match | Debian stable package indexes: libginac13 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GiNaC symbolic framework runtime library | http://www.ginac.de/
- Nix - ginac: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/ginac/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ginac-tools - 1.8.7-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: ginac-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GiNaC symbolic framework support tools | http://www.ginac.de/
- Ubuntu apt - libginac-dev - 1.8.7-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libginac-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GiNaC symbolic framework development files | http://www.ginac.de/
- Ubuntu apt - libginac11 - 1.8.7-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libginac11 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GiNaC symbolic framework runtime library | http://www.ginac.de/
- apk - ginac - 1.8.10-r0: normalized package name match | Alpine Linux edge package indexes: ginac from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C++ library for symbolic computations | https://www.ginac.de/
- apk - ginac-dev - 1.8.10-r0: normalized package name match | Alpine Linux edge package indexes: ginac-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C++ library for symbolic computations (development files) | https://www.ginac.de/
- apk - ginac-doc - 1.8.10-r0: normalized package name match | Alpine Linux edge package indexes: ginac-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C++ library for symbolic computations (documentation) | https://www.ginac.de/
- dnf - ginac - 1.8.9-4.fc44: normalized package name match | Fedora Rawhide package metadata: ginac from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | C++ library for symbolic calculations | https://www.ginac.de/
- dnf - ginac-devel - 1.8.9-4.fc44: normalized package name match | Fedora Rawhide package metadata: ginac-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development files for ginac | https://www.ginac.de/
- dnf - ginac-utils - 1.8.9-4.fc44: normalized package name match | Fedora Rawhide package metadata: ginac-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | GiNaC-related utilities | https://www.ginac.de/
- pacman - ginac - 1.8.9-1: normalized package name match | Arch Linux sync databases: ginac from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | C++ library for symbolic calculations | https://www.ginac.de/
- zypper - ginac - 1.8.10-1.3: normalized package name match | openSUSE Tumbleweed package metadata: ginac from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | C++ library for symbolic calculations | https://www.ginac.de/
- zypper - ginac-devel - 1.8.10-1.3: normalized package name match | openSUSE Tumbleweed package metadata: ginac-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | GiNaC development libraries and header files | https://www.ginac.de/


## 相关链接

- [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.
- [cln](https://www.automicvault.com/zh-hans/pkg/brew/cln/) - Runtime dependency declared by Homebrew.
- [python@3.14](https://www.automicvault.com/zh-hans/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [aamath](https://www.automicvault.com/zh-hans/pkg/brew/aamath/) - Shares av.db curated category or tags: cli, math, science.
- [form](https://www.automicvault.com/zh-hans/pkg/brew/form/) - Shares av.db curated category or tags: cli, computer-algebra, science, symbolic-computation.
- [libqalculate](https://www.automicvault.com/zh-hans/pkg/brew/libqalculate/) - Shares av.db curated category or tags: cli, math, science.
- [clhep](https://www.automicvault.com/zh-hans/pkg/brew/clhep/) - Shares av.db curated category or tags: c-plus-plus, cli, library, science.
- [fftw](https://www.automicvault.com/zh-hans/pkg/brew/fftw/) - Shares av.db curated category or tags: cli, math, science.
- [fricas](https://www.automicvault.com/zh-hans/pkg/brew/fricas/) - Shares av.db curated category or tags: cli, computer-algebra, science, symbolic-computation.
- [geos](https://www.automicvault.com/zh-hans/pkg/brew/geos/) - Shares av.db curated category or tags: c-plus-plus, cli, library, science.
- [kim-api](https://www.automicvault.com/zh-hans/pkg/brew/kim-api/) - Shares av.db curated category or tags: c-plus-plus, cli, library, science.
- [singular](https://www.automicvault.com/zh-hans/pkg/brew/singular/) - Both packages touch the same language runtime or ecosystem. Shared terms: algebra, cli, computation, computer, computer-algebra.

## Combined YAML source

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