# 使用 Homebrew, apk, dnf, Nix, pacman, zypper, apt, MacPorts 安装 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

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- 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

## 软件包事实

- **软件包键:** brew:ginac
- **软件包管理器:** Homebrew
- **版本:** 1.8.10
- **来源摘要:** Not a Computer algebra system
- **主页:** <https://www.ginac.de/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

- 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.10-4.fc45: normalized package name match | Fedora Rawhide package metadata: ginac from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | C++ library for symbolic calculations | https://www.ginac.de/
- dnf - ginac-devel - 1.8.10-4.fc45: 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for ginac | https://www.ginac.de/
- dnf - ginac-utils - 1.8.10-4.fc45: 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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.5: normalized package name match | openSUSE Tumbleweed package metadata: ginac from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | C++ library for symbolic calculations | https://www.ginac.de/
- zypper - ginac-devel - 1.8.10-1.5: normalized package name match | openSUSE Tumbleweed package metadata: ginac-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | GiNaC development libraries and header files | https://www.ginac.de/


## Combined YAML source

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