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

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

## 安装

```sh
sudo av install brew:pari
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install pari
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install pari
```

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

### Linux

- apk (92%):

```sh
sudo apk add pari
```

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

- dnf (92%):

```sh
sudo dnf install pari
```

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

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

- pacman (92%):

```sh
sudo pacman -S pari
```

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

- Debian apt (92%):

```sh
sudo apt install libpari-dev
```

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

- zypper (92%):

```sh
sudo zypper install libpari-gmp-tls9
```

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

## 软件包事实

- **软件包键:** brew:pari
- **软件包管理器:** Homebrew
- **版本:** 2.17.4
- **来源摘要:** Computer algebra system designed for fast computations in number theory
- **主页:** <https://pari.math.u-bordeaux.fr/>
- **最后更新:** 2026-06-29T13:45:25Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- gp (别名)
- gp-2.17 (别名)
- gphelp (别名)
- tex2mail (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.17.4

## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - libpari-dev - 2.17.2-1: normalized package name match | Debian stable package indexes: libpari-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | PARI/GP Computer Algebra System development files | https://pari.math.u-bordeaux.fr
- Debian apt - libpari-gmp-tls9 - 2.17.2-1: normalized package name match | Debian stable package indexes: libpari-gmp-tls9 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | PARI/GP Computer Algebra System shared library | https://pari.math.u-bordeaux.fr
- Debian apt - pari-doc - 2.17.2-1: normalized package name match | Debian stable package indexes: pari-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | PARI/GP Computer Algebra System documentation | https://pari.math.u-bordeaux.fr
- Debian apt - pari-gp - 2.17.2-1: normalized package name match | Debian stable package indexes: pari-gp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | PARI/GP Computer Algebra System binaries | https://pari.math.u-bordeaux.fr
- Nix - pari: normalized package name match | nixpkgs package indexes: pkgs/by-name/pa/pari/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libpari-dev - 2.15.4-2.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libpari-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | PARI/GP Computer Algebra System development files | http://pari.math.u-bordeaux.fr
- Ubuntu apt - libpari-gmp-tls8t64 - 2.15.4-2.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libpari-gmp-tls8t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | PARI/GP Computer Algebra System shared library | http://pari.math.u-bordeaux.fr
- Ubuntu apt - pari-doc - 2.15.4-2.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: pari-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | PARI/GP Computer Algebra System documentation | http://pari.math.u-bordeaux.fr
- Ubuntu apt - pari-gp - 2.15.4-2.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: pari-gp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | PARI/GP Computer Algebra System binaries | http://pari.math.u-bordeaux.fr
- apk - pari - 2.17.4-r0: normalized package name match | Alpine Linux edge package indexes: pari from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Computer algebra system designed for fast computations in number theory | https://pari.math.u-bordeaux.fr/
- apk - pari-dev - 2.17.4-r0: normalized package name match | Alpine Linux edge package indexes: pari-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Computer algebra system designed for fast computations in number theory (development files) | https://pari.math.u-bordeaux.fr/
- apk - pari-doc - 2.17.4-r0: normalized package name match | Alpine Linux edge package indexes: pari-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Computer algebra system designed for fast computations in number theory (documentation) | https://pari.math.u-bordeaux.fr/
- apk - pari-libs - 2.17.4-r0: normalized package name match | Alpine Linux edge package indexes: pari-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Computer algebra system designed for fast computations in number theory (libraries) | https://pari.math.u-bordeaux.fr/
- dnf - pari - 2.17.4-2.fc45: normalized package name match | Fedora Rawhide package metadata: pari from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Number Theory-oriented Computer Algebra System | https://pari.math.u-bordeaux.fr/
- dnf - pari-devel - 2.17.4-2.fc45: normalized package name match | Fedora Rawhide package metadata: pari-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Header files and libraries for PARI development | https://pari.math.u-bordeaux.fr/
- dnf - pari-gp - 2.17.4-2.fc45: normalized package name match | Fedora Rawhide package metadata: pari-gp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | PARI calculator | https://pari.math.u-bordeaux.fr/


## Combined YAML source

View the package source record on GitHub. [combined/pari.yml](https://github.com/mxcl/pkgdb/blob/main/combined/pari.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
