.. _spkg_pari:

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
----------------

-  http://pari.math.u-bordeaux.fr/

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


Version Information
-------------------

package-version.txt::

    2.13.1


Equivalent System Packages
--------------------------

arch:

.. CODE-BLOCK:: bash

    $ sudo pacman -S  pari pari-devel pari-elldata pari-galdata pari-galpol pari-seadata

conda:

.. CODE-BLOCK:: bash

    $ conda install pari pari-devel pari-elldata pari-galdata pari-galpol pari-seadata

Debian/Ubuntu:

.. CODE-BLOCK:: bash

    $ sudo apt-get install  pari pari-devel pari-elldata pari-galdata pari-galpol pari-seadata

Fedora/Redhat/CentOS:

.. CODE-BLOCK:: bash

    $ sudo yum install  pari pari-devel pari-elldata pari-galdata pari-galpol pari-seadata

freebsd:

.. CODE-BLOCK:: bash

    $ sudo pkg install pari pari-devel pari-elldata pari-galdata pari-galpol pari-seadata

gentoo:

.. CODE-BLOCK:: bash

    $ sudo emerge pari pari-devel pari-elldata pari-galdata pari-galpol pari-seadata

homebrew:

.. CODE-BLOCK:: bash

    $ brew install pari pari-devel pari-elldata pari-galdata pari-galpol pari-seadata

macports:
install the following packages: pari pari-devel pari-elldata pari-galdata pari-galpol pari-seadata
nix:

.. CODE-BLOCK:: bash

    $ nix-env --install pari pari-devel pari-elldata pari-galdata pari-galpol pari-seadata

opensuse:

.. CODE-BLOCK:: bash

    $ sudo zypper install pari pari-devel pari-elldata pari-galdata pari-galpol pari-seadata

void:

.. CODE-BLOCK:: bash

    $ sudo xbps-install  pari pari-devel pari-elldata pari-galdata pari-galpol pari-seadata

See https://repology.org/project/pari/versions, https://repology.org/project/pari-devel/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-seadata/versions

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

