.. _spkg_primecount:

primecount: Algorithms for counting primes
==========================================

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

primecount is a C++ implementation of several algorithms for counting
primes maintained by Kim Walisch.

Website: https://github.com/kimwalisch/primecount/

License
-------

primecount is licensed BSD 2


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

-  https://github.com/kimwalisch/primecount/

Type
----

standard


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

- :ref:`spkg_primesieve`
- :ref:`spkg_cmake`

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

package-version.txt::

    7.4


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

arch:

.. CODE-BLOCK:: bash

    $ sudo pacman -S  primecount


conda:

.. CODE-BLOCK:: bash

    $ conda install  primecount


Fedora/Redhat/CentOS:

.. CODE-BLOCK:: bash

    $ sudo yum install  primecount primecount-devel


opensuse:

.. CODE-BLOCK:: bash

    $ sudo zypper install primecount libprimecount-devel


void:

.. CODE-BLOCK:: bash

    $ sudo xbps-install  primecount-devel


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


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

