Try GP in your browser

Help / Community
  Mailing Lists
  Ateliers PARI/GP

  Contributed GP scripts

  Latest Changes
  Version Control
  Coding Guidelines

Tests & benchmarks
  Coverage Report
  Doc Coverage
  Refcards test

  WWW Stats

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 version).


A. To use a package with the daily Windows GP binary

Extract the archive in same folder as gp.exe (this will create a 'data' subfolder).

B. To install a package from a source distribution.

Extract the archive in the toplevel pari directory before running ./Configure. Then run make install as usual. To test the distribution before installing, you can follow the following three-step procedure

  1. make install-data, which will only install the packages extracted in the toplevel pari directory as above, and nothing else.
  2. make test-all will fully test the distribution, including the newly installed packages.
  3. 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 not installed.

If you need the corresponding feature, you can then install the needed package.

C. To install a package into an existing PARI/GP installation.

This is in particular the only method available to users of the Windows self-extracting binary.

  1. Type default(datadir) in the gp interpreter to determine the directory where it expects its architecture independent files.
  2. Extract the archive anywhere you like, which will create a 'data' folder.
  3. Open 'data' and move the folder it contains, e.g. elldata, to the datadir determined above.
  4. You may delete the now empty 'data' folder.

D. To test whether a package is available.

Here are sample commands that will fail if a given package is not available:

  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 */
  nflist("A5")        /* package: nflistdata */

Available Packages

  • elldata.tgz (54.8 MB), Mar 1 2021
    sha256sum: dd551e64932d4ab27b3f2b2d1da871c2353672fc1a74705c52e3c0de84bd0cf6
    md5sum: 32cd84098418d75f521c840ae5c4bd01 / PGP signature: elldata.tgz.asc
    PARI/GP version of J. E. Cremona Elliptic Curve Data, needed by ellsearch and ellidentify.
    Require PARI/GP 2.2.11 and up.
  • galpol.tgz (9.6 MB), Jun 25 2018
    sha256sum: 562af28316ee335ee38c1172c2d5ecccb79f55c368fb9f2c6f40fc0f416bb01b
    md5sum: 6ebd6057f1b252f7f9b77525c27f447d / PGP signature: galpol.tgz.asc
    PARI package of the GALPOL database of polynomials defining Galois extensions of the rationals, accessed by galoisgetpol, galoisgetgroup, galoisgetname.
    Require PARI/GP 2.4.3 and up
  • seadata.tgz (18.3 MB), Jun 18 2009
    sha256sum: c9282a525ea3f92c1f9c6c69e37ac5a87b48fb9ccd943cfd7c881a3851195833
    md5sum: 6e9c119ccb3c65916a48e1a8cd899558 / PGP signature: seadata.tgz.asc
    Needed by ellap and ellcard 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).
    Other versions:
    • seadata-small.tgz (655 KB), Jun 18 2009
      sha256sum: bf5be913472b268df7f1242f94c68113fcacceb30c280507447ff2be62760a8f
      md5sum: 705b51f147872895a7307ed4e57f55f2 / 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
      sha256sum: 7c4db2624808a5bbd2ba00f8b644a439f0508532efd680a247610fdd5822a5f2
      md5sum: c0da412320804de3e31c90179afee9be / 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
    sha256sum: 8dd3393ce6b3cfcf599f094f7b22bdffe17c3ba25deb912513d54676bd7cfe92
    md5sum: 82788524f36bbbba886785c940c859db / 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 separately.
    Require PARI/GP 2.2.11 and up (need readvec).
  • galdata.tgz (52 KB), Apr 11 2008
    sha256sum: b7c1650099b24a20bdade47a85a928351c586287f0d4c73933313873e63290dd
    md5sum: f9f61b2930757a785b568e5d307a7d75 / PGP signature: galdata.tgz.asc
    Needed by polgalois to compute Galois group in degrees 8 through 11.
    Require PARI/GP 2.2.7 and up.
  • nflistdata.tgz (3.5 MB), Jul 29 2022
    sha256sum: 2c19a3e02afd3bba2af3071a7faa80924a75b00bb9713286c886b7fb460944bc
    md5sum: efeef2605b4f4a0c105a05f98ebdc776 / PGP signature: nflistdata.tgz.asc
    Needed by nflist to list fields of small discriminant (currently needed by the single Galois groups A5 and A5(6)) or to list regular extensions of Q(T) in degree 7 to 15.
    Require PARI/GP 2.14.0.

PARI/GP Development
Last Modified: 2023-04-24 12:19:37
Copyleft © 2003-2022 the PARI group.