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.




SPKG Maintainers

Upstream Contact


Build Notes

Here is how to build a new version of the PARI SAGE spkg:

Note from David Kirby that could be relevant to building on Solaris:

Since pari is using -xarch=native, which implies -xarch=v8plusa on my box, but I set -xarch=v8plus (without the last a), this probably means there will be different types of object files and so they may not link together. Ick. Feel free to tell me how to modify the configure script.

I got around it by setting CFLAGS -xarch=v8plus myself, so they were all the same. But it is not right. I have not looked at pari to see exactly where it says native, but I would expact a grep to find it.


pari-2.3.3.p0 (Michael Abshoff, Feb. 18th, 2008)

pari-2.3.3 (William Stein)


* 2007-10-31: (Carl Witty)

* 2007-09-09: (Michael Abshoff)

* 2007-03-04: included Pablo De Napoli ([email protected])'s

* 2006-09-28: (William Stein and Justin Walker)

* I took the standard PARI tarball, but ran the script spkg-dist on it

* Also, I placed a directory "sage" in this directory with some files

* This changed removed -- 09/28/2006 #* I changed a line of config/Makefile.SH to # DLLDFLAGS = $DLLDFLAGS -mimpure-text

* Put the extra galois groups data files in the data/galdata subdirectory,