Optional PARI/GP packages
This page lists all optional PARI/GP packages made available by the PARI
group. These packages use up a nonnegligible amount of disk space and will be
useless for most users, hence they are distributed separately and maintained
independently. They are rarely upgraded so most of them will only be
downloaded once. All packages are © the PARI group, distributed under
the terms of the GNU General Public License (GPL version 2 or any later
A. To use a package with the daily Windows GP binary
Extract the archive in same folder as gp.exe (this will create a
B. To install a package from a source distribution.
Extract the archive
in the toplevel pari directory before running
make install as usual. To test the
distribution before installing, you can follow the following three-step
make install-data, which will only install the packages
extracted in the toplevel pari directory as above, and nothing else.
make test-all will fully test the distribution, including
the newly installed packages.
make install to fully install the new distribution.
Of course, if the needed packages are already installed on this particular
machine, you can omit the first step. If some packages are in fact missing,
the second step will output warnings of the form
Skipping test-name: optional package package-name
If you need the corresponding feature, you can then install the needed
C. To install a package into an existing PARI/GP installation.
This is in particular the only method available to users of the Windows
default(datadir) in the gp interpreter to determine the
directory where it expects its architecture independent files.
- Extract the archive anywhere you like, which will create a
'data' and move the folder it contains, e.g.
elldata, to the
datadir determined above.
- You may delete the now empty
D. To test whether a package is available.
Here are sample commands that will fail if a given package is not
ellinit("11a1") /* package: elldata */
galoisgetpol(8) /* package: galpol */
galoisgetname(12,1) /* package: galpol 4.0 and up */
ellmodulareqn(11) /* package: seadata */
polgalois(x^8-2) /* package: galdata */
- elldata.tgz (44.2 MB), Oct 17 2016
/ PGP signature: elldata.tgz.asc
PARI/GP version of J. E. Cremona
Curve Data, needed by
Require PARI/GP 2.2.11 and up.
- galpol.tgz (9.6 MB), Jun 25 2018
/ PGP signature: galpol.tgz.asc
PARI package of the
database of polynomials defining Galois extensions of the rationals,
Require PARI/GP 2.4.3 and up
- seadata.tgz (18.3 MB), Jun 18 2009
/ PGP signature: seadata.tgz.asc
ellap for large primes.
Require PARI/GP 2.4.3 and up.
These polynomials were extracted from the ECHIDNA databases and
computed by David R. Kohel. This covers finite fields of cardinality
q up to 750 bits. PARI/GP 2.9 contains fallback code to go on when
all modular polynomials in the database have been exhausted and can handle
larger fields (with an important slowdown).
seadata-small.tgz (655 KB), Jun 18 2009
/ PGP signature: seadata-small.tgz.asc
The second one is a much smaller version that should be suitable for
fields up to 350 bits.
seadata-big.tar (98.7 MB), Apr 18 2017
/ PGP signature: seadata-big.tar.asc
The third one is huge and contains extra modular polynomials
of level between 500 and 800. This is suitable for fields up to 1100 bits.
- nftables.tgz (8.0 MB), Sep 29 2008
/ PGP signature: nftables.tgz.asc
Repackaging of the historical
megrez number field tables (errors fixed, 1/10th the size, easier to use).
This package requires no installation: extract it where
desired and look at the [README]. Individual tables from the package are available
Require PARI/GP 2.2.11 and up (need
- galdata.tgz (52 KB), Apr 11 2008
/ PGP signature: galdata.tgz.asc
polgalois to compute Galois group in degrees 8
Require PARI/GP 2.2.7 and up.