.. _spkg_ntl:

ntl: A library for doing number theory
======================================

Description
-----------

NTL is a high-performance, portable C++ library providing data
structures and algorithms for manipulating signed, arbitrary length
integers, and for vectors, matrices, and polynomials over the integers
and over finite fields.

Website: http://www.shoup.net/ntl/

License
-------

-  GNU LGPLv2.1+


Upstream Contact
----------------

-  Victor Shoup - for contact info see http://www.shoup.net/

Special Update/Build Instructions
---------------------------------

-  None

Type
----

standard


Dependencies
------------

- $(MP_LIBRARY)
- :ref:`spkg_gf2x`

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

package-version.txt::

    11.4.3


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

conda:

.. CODE-BLOCK:: bash

    $ conda install  ntl


cygwin:

.. CODE-BLOCK:: bash

    $ apt-cyg install libntl-devel


Debian/Ubuntu:

.. CODE-BLOCK:: bash

    $ sudo apt-get install  libntl-dev


Fedora/Redhat/CentOS:

.. CODE-BLOCK:: bash

    $ sudo yum install  ntl-devel


freebsd:

.. CODE-BLOCK:: bash

    $ sudo pkg install math/ntl


gentoo:

.. CODE-BLOCK:: bash

    $ sudo emerge dev-libs/ntl


homebrew:

.. CODE-BLOCK:: bash

    $ brew install ntl


macports:
install the following packages: ntl

nix:

.. CODE-BLOCK:: bash

    $ nix-env --install ntl


opensuse:

.. CODE-BLOCK:: bash

    $ sudo zypper install ntl-devel


void:

.. CODE-BLOCK:: bash

    $ sudo xbps-install  ntl-devel


See https://repology.org/project/ntl/versions


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

