How to Install and Uninstall python3-random2.noarch Package on CentOS Stream 9

Last updated: September 21,2024

1. Install "python3-random2.noarch" package

This is a short guide on how to install python3-random2.noarch on CentOS Stream 9

$ sudo dnf update $ sudo dnf install python3-random2.noarch

2. Uninstall "python3-random2.noarch" package

Here is a brief guide to show you how to uninstall python3-random2.noarch on CentOS Stream 9:

$ sudo dnf remove python3-random2.noarch $ sudo dnf autoremove

3. Information about the python3-random2.noarch package on CentOS Stream 9

Last metadata expiration check: 3:05:40 ago on Sat Mar 16 16:03:45 2024.
Available Packages
Name : python3-random2
Version : 1.0.1
Release : 25.el9
Architecture : noarch
Size : 27 k
Source : python-random2-1.0.1-25.el9.src.rpm
Repository : epel
Summary : Python 2 compatible random module for Python 3
URL : http://pypi.python.org/pypi/random2
License : Python
Description : This package provides a Python 3 ported version of Python 2.7's random
: module.
:
: In Python 3, the implementation of randrange() was changed, so that even
: with the same seed you get different sequences in Python 2 and 3. Note
: that several high-level functions such as randint() and choice() use
: randrange().
:
: In my testing code I heavily rely on stable random generator results and
: it makes porting code to Python 3 a lot harder, if all those tests have
: to be adjusted. This package fixes that.