How to Install and Uninstall python312-pyprimes Package on openSuSE Tumbleweed

Last updated: November 23,2024

1. Install "python312-pyprimes" package

Learn how to install python312-pyprimes on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install python312-pyprimes

2. Uninstall "python312-pyprimes" package

Here is a brief guide to show you how to uninstall python312-pyprimes on openSuSE Tumbleweed:

$ sudo zypper remove python312-pyprimes

3. Information about the python312-pyprimes package on openSuSE Tumbleweed

Information for package python312-pyprimes:
-------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python312-pyprimes
Version : 0.2.2a-1.26
Arch : noarch
Vendor : openSUSE
Installed Size : 314.0 KiB
Installed : No
Status : not installed
Source package : python-pyprimes-0.2.2a-1.26.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.