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

Last updated: November 22,2024

1. Install "python2-pyprimes" package

Please follow the steps below to install python2-pyprimes on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python2-pyprimes

2. Uninstall "python2-pyprimes" package

This tutorial shows how to uninstall python2-pyprimes on openSUSE Leap:

$ sudo zypper remove python2-pyprimes

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

Information for package python2-pyprimes:
-----------------------------------------
Repository : Main Repository
Name : python2-pyprimes
Version : 0.2.2a-bp153.1.14
Arch : noarch
Vendor : openSUSE
Installed Size : 291,6 KiB
Installed : No
Status : not installed
Source package : python-pyprimes-0.2.2a-bp153.1.14.src
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.