macOS
brew install parilocal Homebrew formula metadata
sudo port install pariMacPorts ports tree · math/pari/Portfile · source: api.github.com
brew / rank 3521
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
brew install parilocal Homebrew formula metadata
sudo port install pariMacPorts ports tree · math/pari/Portfile · source: api.github.com
sudo apk add pariAlpine Linux edge package indexes · pari · source: dl-cdn.alpinelinux.org
sudo dnf install pariFedora Rawhide package metadata · pari · source: dl.fedoraproject.org
nix profile install nixpkgs#parinixpkgs package indexes · pkgs/by-name/pa/pari/package.nix · source: api.github.com
sudo pacman -S pariArch Linux sync databases · pari · source: geo.mirror.pkgbuild.com
sudo apt install libpari-devDebian stable package indexes · libpari-dev · source: deb.debian.org
sudo zypper install libpari-gmp-tls9openSUSE Tumbleweed package metadata · libpari-gmp-tls9 · source: download.opensuse.org
overview
Computer algebra system designed for fast computations in number theory
history
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.
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.
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.
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.
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
$GPRC~/.gprc/etc/gprc<PARI data directory>/gprcexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
gp | cli | global executable | |
gp-2.17 | cli | global executable | |
gphelp | cli | global executable | |
tex2mail | cli | global executable |
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.
https://pari.math.u-bordeaux.fr/
install metadata
| Package key | brew:pari |
|---|---|
| Version | 2.19.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/pari |
| Homepage | https://pari.math.u-bordeaux.fr/ |
| Upstream docs | https://pari.math.u-bordeaux.fr/ |
| License | GPL-2.0-or-later |
| Source archive | https://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.19.0.tar.gz |
| Last updated | 2026-09-28T12:34:06Z |
| Pulse | updated |
| Dependencies | gmp, readline |
| Bottle | available (on arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
| Caveats | If you need the graphical plotting functions you need to install X11 with: brew install --cask xquartz |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | pari |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libpari-dev 2.17.2-1
PARI/GP Computer Algebra System development files
https://pari.math.u-bordeaux.fr
sudo apt install libpari-devlibpari-gmp-tls9 2.17.2-1
PARI/GP Computer Algebra System shared library
https://pari.math.u-bordeaux.fr
sudo apt install libpari-gmp-tls9pari-doc 2.17.2-1
PARI/GP Computer Algebra System documentation
https://pari.math.u-bordeaux.fr
sudo apt install pari-docpari-gp 2.17.2-1
PARI/GP Computer Algebra System binaries
https://pari.math.u-bordeaux.fr
sudo apt install pari-gppari
nix profile install nixpkgs#parilibpari-dev 2.15.4-2.1build1
PARI/GP Computer Algebra System development files
http://pari.math.u-bordeaux.fr
sudo apt install libpari-devlibpari-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-tls8t64pari-doc 2.15.4-2.1build1
PARI/GP Computer Algebra System documentation
http://pari.math.u-bordeaux.fr
sudo apt install pari-docpari-gp 2.15.4-2.1build1
PARI/GP Computer Algebra System binaries
http://pari.math.u-bordeaux.fr
sudo apt install pari-gppari 2.17.4-r0
Computer algebra system designed for fast computations in number theory
https://pari.math.u-bordeaux.fr/
sudo apk add paripari-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-devpari-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-docpari-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-libspari 2.17.4-2.fc45
Number Theory-oriented Computer Algebra System
https://pari.math.u-bordeaux.fr/
sudo dnf install paripari-devel 2.17.4-2.fc45
Header files and libraries for PARI development
https://pari.math.u-bordeaux.fr/
sudo dnf install pari-develpari-gp 2.17.4-2.fc45
PARI calculator
https://pari.math.u-bordeaux.fr/
sudo dnf install pari-gpsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.