.. _spkg_primesieve:

primesieve: CLI program and C/C++ library for generating primes 
===============================================================

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

A CLI program and C/C++ library for quickly generating prime numbers.
https://github.com/kimwalisch/primesieve

A dependency of the standard spkg primecount.

License
-------

BSD-2-clause

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

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

Type
----

standard


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

- :ref:`spkg_cmake`

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

package-version.txt::

    8.0


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

alpine:
install the following packages: primesieve-dev primesieve

arch:

.. CODE-BLOCK:: bash

    $ sudo pacman -S  primesieve


conda:

.. CODE-BLOCK:: bash

    $ conda install  primesieve


Debian/Ubuntu:

.. CODE-BLOCK:: bash

    $ sudo apt-get install  libprimesieve-dev


Fedora/Redhat/CentOS:

.. CODE-BLOCK:: bash

    $ sudo yum install  primesieve-devel primesieve


homebrew:

.. CODE-BLOCK:: bash

    $ brew install primesieve


opensuse:

.. CODE-BLOCK:: bash

    $ sudo zypper install primesieve


void:

.. CODE-BLOCK:: bash

    $ sudo xbps-install  primesieve-devel


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


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

