How To Install python3-simpy on Fedora 36

In this tutorial we learn how to install python3-simpy in Fedora 36. python3-simpy is Python simulation framework

Introduction

In this tutorial we learn how to install python3-simpy on Fedora 36.

What is python3-simpy

SimPy (= Simulation in Python3) is an object-oriented, process-based discrete-event simulation language based on standard Python. It provides the modeler with components of a simulation model including processes, for active components like customers, messages, and vehicles, and resources, for passive components that form limited capacity congestion points like servers, checkout counters, and tunnels. It also provides monitor variables to aid in gathering statistics. Random variates are provided by the standard Python random module.

We can use yum or dnf to install python3-simpy on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-simpy.

Install python3-simpy on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-simpy using dnf by running the following command:

sudo dnf -y install python3-simpy

Install python3-simpy on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-simpy using yum by running the following command:

sudo yum -y install python3-simpy

How To Uninstall python3-simpy on Fedora 36

To uninstall only the python3-simpy package we can use the following command:

sudo dnf remove python3-simpy

python3-simpy Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/simpy
/usr/lib/python3.10/site-packages/simpy-3.0.9-py3.10.egg-info
/usr/lib/python3.10/site-packages/simpy-3.0.9-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/simpy-3.0.9-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/simpy-3.0.9-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/simpy-3.0.9-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/simpy/__init__.py
/usr/lib/python3.10/site-packages/simpy/__pycache__
/usr/lib/python3.10/site-packages/simpy/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/simpy/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/simpy/__pycache__/_compat.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/simpy/__pycache__/_compat.cpython-310.pyc
/usr/lib/python3.10/site-packages/simpy/__pycache__/core.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/simpy/__pycache__/core.cpython-310.pyc
/usr/lib/python3.10/site-packages/simpy/__pycache__/events.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/simpy/__pycache__/events.cpython-310.pyc
/usr/lib/python3.10/site-packages/simpy/__pycache__/rt.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/simpy/__pycache__/rt.cpython-310.pyc
/usr/lib/python3.10/site-packages/simpy/__pycache__/util.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/simpy/__pycache__/util.cpython-310.pyc
/usr/lib/python3.10/site-packages/simpy/_compat.py
/usr/lib/python3.10/site-packages/simpy/core.py
/usr/lib/python3.10/site-packages/simpy/events.py
/usr/lib/python3.10/site-packages/simpy/resources
/usr/lib/python3.10/site-packages/simpy/resources/__init__.py
/usr/lib/python3.10/site-packages/simpy/resources/__pycache__
/usr/lib/python3.10/site-packages/simpy/resources/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/simpy/resources/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/simpy/resources/__pycache__/base.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/simpy/resources/__pycache__/base.cpython-310.pyc
/usr/lib/python3.10/site-packages/simpy/resources/__pycache__/container.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/simpy/resources/__pycache__/container.cpython-310.pyc
/usr/lib/python3.10/site-packages/simpy/resources/__pycache__/resource.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/simpy/resources/__pycache__/resource.cpython-310.pyc
/usr/lib/python3.10/site-packages/simpy/resources/__pycache__/store.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/simpy/resources/__pycache__/store.cpython-310.pyc
/usr/lib/python3.10/site-packages/simpy/resources/base.py
/usr/lib/python3.10/site-packages/simpy/resources/container.py
/usr/lib/python3.10/site-packages/simpy/resources/resource.py
/usr/lib/python3.10/site-packages/simpy/resources/store.py
/usr/lib/python3.10/site-packages/simpy/rt.py
/usr/lib/python3.10/site-packages/simpy/util.py
/usr/share/doc/python3-simpy
/usr/share/doc/python3-simpy/AUTHORS.txt
/usr/share/doc/python3-simpy/CHANGES.txt
/usr/share/doc/python3-simpy/PKG-INFO
/usr/share/doc/python3-simpy/README.txt
/usr/share/licenses/python3-simpy
/usr/share/licenses/python3-simpy/LICENSE.txt

References

Summary

In this tutorial we learn how to install python3-simpy on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).