.. _spkg_flint:

flint: Fast Library for Number Theory
=====================================

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

FLINT is a C library for doing number theory, maintained by William
Hart.

Website: http://www.flintlib.org

License
-------

FLINT is licensed GPL v2+.


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

-  flint-devel Gougle Group
   (http://groups.google.co.uk/group/flint-devel)
-  William Hart

Type
----

standard


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

- $(MP_LIBRARY)
- :ref:`spkg_mpfr`
- :ref:`spkg_ntl`

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

package-version.txt::

    2.8.4


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

conda:

.. CODE-BLOCK:: bash

    $ conda install  libflint


cygwin:

.. CODE-BLOCK:: bash

    $ apt-cyg install libflint-devel


Debian/Ubuntu:

.. CODE-BLOCK:: bash

    $ sudo apt-get install  libflint-dev


Fedora/Redhat/CentOS:

.. CODE-BLOCK:: bash

    $ sudo yum install  flint flint-devel


freebsd:

.. CODE-BLOCK:: bash

    $ sudo pkg install math/flint2


gentoo:

.. CODE-BLOCK:: bash

    $ sudo emerge sci-mathematics/flint[ntl]


homebrew:

.. CODE-BLOCK:: bash

    $ brew install flint


macports:
install the following packages: flint

nix:

.. CODE-BLOCK:: bash

    $ nix-env --install flint


opensuse:

.. CODE-BLOCK:: bash

    $ sudo zypper install flint-devel


void:

.. CODE-BLOCK:: bash

    $ sudo xbps-install  flintlib-devel


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


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

