pari: Computer algebra system for fast computations in number theory#

Description#

PARI/GP is a widely used computer algebra system designed for fast computations in number theory (factorizations, algebraic number theory, elliptic curves…), but also contains a large number of other useful functions to compute with mathematical entities such as matrices, polynomials, power series, algebraic numbers etc., and a lot of transcendental functions. PARI is also available as a C library to allow for faster computations.

Originally developed by Henri Cohen and his co-workers (Université Bordeaux I, France), PARI is now under the GPL and maintained by Karim Belabas with the help of many volunteer contributors.

License#

GPL version 2+

Upstream Contact#

Dependencies#

  • Perl

  • MPIR or GMP

  • Readline

  • GNU patch (shipped with Sage)

Special Update/Build Instructions#

See patches/README.txt for a list of patches.

The current upstream tarball was created from the PARI git repository by running “make snapshot”.

Type#

standard

Dependencies#

Version Information#

package-version.txt:

2.15.4

Equivalent System Packages#

$ apk add pari-dev
$ sudo pacman -S pari pari-galdata pari-seadata pari-elldata \
      pari-galpol
$ conda install pari=\*=\*_pthread pari-elldata pari-galdata \
      pari-galpol pari-seadata
$ sudo apt-get install pari-gp2c libpari-dev pari-doc pari-elldata \
      pari-galdata pari-galpol pari-seadata
$ sudo yum install pari-devel pari-gp --setopt=tsflags= pari-galdata \
      pari-galpol pari-seadata pari-elldata
$ sudo pkg install math/pari
$ sudo emerge sci-mathematics/pari sci-mathematics/pari-data
$ brew install pari pari-elldata pari-galdata pari-galpol pari-seadata

No package needed.

$ nix-env --install pari
$ sudo zypper install pari-devel pari-gp
$ sudo xbps-install pari pari-devel pari-elldata-small pari-galdata \
      pari-galpol-small pari-seadata

See https://repology.org/project/pari/versions, https://repology.org/project/pari-gp/versions, https://repology.org/project/pari-data/versions, https://repology.org/project/pari-elldata/versions, https://repology.org/project/pari-galdata/versions, https://repology.org/project/pari-galpol/versions, https://repology.org/project/pari-nftables/versions, https://repology.org/project/pari-seadata/versions, https://repology.org/project/pari-seadata-big/versions

If the system package is installed, ./configure will check if it can be used.