pkg.soopen package index

brew / rank 3521

Install pari with Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper

Computer algebra system designed for fast computations in number theory. Version 2.19.0 via Homebrew; verified 2026-09-28. Also installable with debian: sudo apt install libpari-dev.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install pari

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install pari

MacPorts ports tree · math/pari/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add pari

Alpine Linux edge package indexes · pari · source: dl-cdn.alpinelinux.org

Fedora dnfverified · 92%
sudo dnf install pari

Fedora Rawhide package metadata · pari · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#pari

nixpkgs package indexes · pkgs/by-name/pa/pari/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S pari

Arch Linux sync databases · pari · source: geo.mirror.pkgbuild.com

Debian aptverified · 92%
sudo apt install libpari-dev

Debian stable package indexes · libpari-dev · source: deb.debian.org

openSUSE zypperverified · 92%
sudo zypper install libpari-gmp-tls9

openSUSE Tumbleweed package metadata · libpari-gmp-tls9 · source: download.opensuse.org

overview

Package summary

Computer algebra system designed for fast computations in number theory

Commands and aliases

  • gp
  • gp-2.17
  • gphelp
  • tex2mail

history

Project history and usage

PARI/GP is a computer-algebra system optimized for fast computations in number theory. The distribution pairs the interactive GP language with the embeddable PARI C library.

Project history

PARI's roots reach back to the ISABELLE higher-arithmetic interpreter written by Henri Cohen and François Dress in 1979. The PARI project began taking shape in 1983; Christian Batut, Henri Cohen, and Michel Olivier wrote its first assembly kernel and expanded the library in 1986.

Dominique Bernardi produced a programmable calculator in 1987 and renamed it `gp`. Karim Belabas became maintainer in 1995, and the project subsequently opened its development model, adopted the GPL, and established public source-control history.

Adoption history

PARI developed from a Bordeaux research tool into a GPL-licensed, portable system with regular releases and public version control. The project changed maintainership in 1995, entered CVS in 1999, moved through Subversion, and adopted Git in 2011.

The supplied package metadata shows distribution across Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, Nix, MacPorts, and openSUSE families, reflecting its dual role as the interactive `gp` calculator and the reusable libpari library.

How it is used

Start `gp` for interactive exact and high-precision computation, define functions or load `.gp` scripts for repeatable work, and use libpari from C when embedding the algorithms. Startup preferences such as precision, colors, paths, memory limits, help, and persistent command history can be placed in a gprc file.

Why package nerds care

PARI/GP is unusually valuable to package users because it is simultaneously a fast interactive calculator, a scripting language specialized for number theory, and a C library embedded by other mathematical software. It offers serious research algorithms without requiring a full general-purpose mathematics environment.

Timeline

  • 1979: Henri Cohen and François Dress wrote the ISABELLE interpreter.
  • 1983: The first stages of the PARI project began.
  • 1986: The first PARI assembly kernel and core library were developed.
  • 1987: The programmable calculator was renamed `gp`.
  • 1990-02-28: PARI 1.31 received an international release.
  • 1995: Karim Belabas became project maintainer.
  • 1999: PARI entered public CVS development.
  • 2000-11-17: PARI 2.1.0 was released under the GPL.
  • 2011-09-08: The source repository migrated to Git.

Related projects

  • GP is the interactive language and calculator built on the PARI library. GP2C is the same project's compiler for translating GP code into C that uses libpari.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 5 platform targets.
  • Installs with 2 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
$GPRC~/.gprc/etc/gprc<PARI data directory>/gprc

executables

Installed executables

CommandKindExposureNote
gpcliglobal executable
gp-2.17cliglobal executable
gphelpcliglobal executable
tex2mailcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-11-04
manager version2.19.0
manager updated2026-09-28
local dataok
upstreamnot checked
latest detectednot detected

https://pari.math.u-bordeaux.fr/

install metadata

Package metadata

Package keybrew:pari
Version2.19.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/pari
Homepagehttps://pari.math.u-bordeaux.fr/
Upstream docshttps://pari.math.u-bordeaux.fr/
LicenseGPL-2.0-or-later
Source archivehttps://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.19.0.tar.gz
Last updated2026-09-28T12:34:06Z
Pulseupdated
Dependenciesgmp, readline
Bottleavailable (on arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared
CaveatsIf you need the graphical plotting functions you need to install X11 with: brew install --cask xquartz

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepari
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libpari-dev 2.17.2-1

PARI/GP Computer Algebra System development files

https://pari.math.u-bordeaux.fr

sudo apt install libpari-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: pari
  • 2 dependencies
  • 1 provides
  • 2 optional deps
  • normalized package name match
  • Matched by: Pari
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libpari-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libpari-gmp-tls9 2.17.2-1

PARI/GP Computer Algebra System shared library

https://pari.math.u-bordeaux.fr

sudo apt install libpari-gmp-tls9
  • Section: libs
  • Architecture: amd64
  • Source Package: pari
  • 2 dependencies
  • normalized package name match
  • Matched by: Pari
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libpari-gmp-tls9 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

pari-doc 2.17.2-1

PARI/GP Computer Algebra System documentation

https://pari.math.u-bordeaux.fr

sudo apt install pari-doc
  • Section: doc
  • Architecture: all
  • Source Package: pari
  • 3 optional deps
  • normalized package name match
  • Matched by: Pari
Debian stable package indexes · deb.debian.org · Debian stable package indexes: pari-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

pari-gp 2.17.2-1

PARI/GP Computer Algebra System binaries

https://pari.math.u-bordeaux.fr

sudo apt install pari-gp
  • Section: math
  • Architecture: amd64
  • Source Package: pari
  • 4 dependencies
  • 7 optional deps
  • normalized package name match
  • Matched by: Pari
Debian stable package indexes · deb.debian.org · Debian stable package indexes: pari-gp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

pari

nix profile install nixpkgs#pari
  • normalized package name match
  • Matched by: Pari
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/pa/pari/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libpari-dev 2.15.4-2.1build1

PARI/GP Computer Algebra System development files

http://pari.math.u-bordeaux.fr

sudo apt install libpari-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: pari
  • 2 dependencies
  • 1 provides
  • 2 optional deps
  • normalized package name match
  • Matched by: Pari
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpari-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libpari-gmp-tls8t64 2.15.4-2.1build1

PARI/GP Computer Algebra System shared library

http://pari.math.u-bordeaux.fr

sudo apt install libpari-gmp-tls8t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: pari
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Pari
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpari-gmp-tls8t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

pari-doc 2.15.4-2.1build1

PARI/GP Computer Algebra System documentation

http://pari.math.u-bordeaux.fr

sudo apt install pari-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: pari
  • 3 optional deps
  • normalized package name match
  • Matched by: Pari
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: pari-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

pari-gp 2.15.4-2.1build1

PARI/GP Computer Algebra System binaries

http://pari.math.u-bordeaux.fr

sudo apt install pari-gp
  • Section: universe/math
  • Architecture: amd64
  • Source Package: pari
  • 4 dependencies
  • 7 optional deps
  • normalized package name match
  • Matched by: Pari
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: pari-gp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

pari 2.17.4-r0

Computer algebra system designed for fast computations in number theory

https://pari.math.u-bordeaux.fr/

sudo apk add pari
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: pari
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Pari
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pari from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

pari-dev 2.17.4-r0

Computer algebra system designed for fast computations in number theory (development files)

https://pari.math.u-bordeaux.fr/

sudo apk add pari-dev
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: pari
  • 1 dependencies
  • normalized package name match
  • Matched by: Pari
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pari-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

pari-doc 2.17.4-r0

Computer algebra system designed for fast computations in number theory (documentation)

https://pari.math.u-bordeaux.fr/

sudo apk add pari-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: pari
  • normalized package name match
  • Matched by: Pari
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pari-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

pari-libs 2.17.4-r0

Computer algebra system designed for fast computations in number theory (libraries)

https://pari.math.u-bordeaux.fr/

sudo apk add pari-libs
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: pari
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Pari
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pari-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

pari 2.17.4-2.fc45

Number Theory-oriented Computer Algebra System

https://pari.math.u-bordeaux.fr/

sudo dnf install pari
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: pari
  • 5 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Pari
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: pari from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst
dnf95%

pari-devel 2.17.4-2.fc45

Header files and libraries for PARI development

https://pari.math.u-bordeaux.fr/

sudo dnf install pari-devel
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: pari
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Pari
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: pari-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst
dnf95%

pari-gp 2.17.4-2.fc45

PARI calculator

https://pari.math.u-bordeaux.fr/

sudo dnf install pari-gp
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: pari
  • 15 dependencies
  • 4 provides
  • normalized package name match
  • Matched by: Pari
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: pari-gp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation