How to Install and Uninstall python3-pyprimes Package on openSUSE Leap

Last updated: May 03,2024

1. Install "python3-pyprimes" package

This guide covers the steps necessary to install python3-pyprimes on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python3-pyprimes

2. Uninstall "python3-pyprimes" package

This guide let you learn how to uninstall python3-pyprimes on openSUSE Leap:

$ sudo zypper remove python3-pyprimes

3. Information about the python3-pyprimes package on openSUSE Leap

Information for package python3-pyprimes:
-----------------------------------------
Repository : Main Repository
Name : python3-pyprimes
Version : 0.2.2a-bp155.2.10
Arch : noarch
Vendor : openSUSE
Installed Size : 277.1 KiB
Installed : No
Status : not installed
Source package : python-pyprimes-0.2.2a-bp155.2.10.src
Upstream URL : http://code.google.com/p/pyprimes/
Summary : Generate and test for prime numbers
Description :
The pyprimes package offers a variety of algorithms for generating prime
numbers and fast primality tests, written in pure Python.
Prime numbers are those positive integers which are not divisible exactly
by any number other than itself or one. Generating primes and testing for
primality has been a favourite mathematical pastime for centuries, as well
as of great practical importance for encrypting data.
``pyprimes`` includes the following features:
- Produce prime numbers lazily, on demand.
- Effective algorithms including Sieve of Eratosthenes, Croft Spiral,
and Wheel Factorisation.
- Efficiently test whether numbers are prime, using both deterministic
(exact) and probabilistic primality tests.
- Examples of what *not* to do are provided, including naive trial
division, Turner's algorithm, and primality testing using a
regular expression.
- Factorise small numbers into the product of prime factors.
- Suitable for Python 2.4 through 3.x from one code base.