How To Install python3-cro on Fedora 36

In this tutorial we learn how to install python3-cro in Fedora 36. python3-cro is An implementation of CRO metaheuristic algorithm

Introduction

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

What is python3-cro

Coral Reefs Optimization (CRO) algorithm artificially simulates a coral reef, where different corals (which are the solutions for the considered optimization problem) grow and reproduce in a coral-reef, fighting with other corals for space and find depredation.

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

Install python3-cro 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-cro using dnf by running the following command:

sudo dnf -y install python3-cro

Install python3-cro 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-cro using yum by running the following command:

sudo yum -y install python3-cro

How To Uninstall python3-cro on Fedora 36

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

sudo dnf remove python3-cro

python3-cro Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/cro
/usr/lib/python3.10/site-packages/cro-0.0.5.0.dist-info
/usr/lib/python3.10/site-packages/cro-0.0.5.0.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/cro-0.0.5.0.dist-info/LICENSE.txt
/usr/lib/python3.10/site-packages/cro-0.0.5.0.dist-info/METADATA
/usr/lib/python3.10/site-packages/cro-0.0.5.0.dist-info/WHEEL
/usr/lib/python3.10/site-packages/cro-0.0.5.0.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/cro/__init__.py
/usr/lib/python3.10/site-packages/cro/__pycache__
/usr/lib/python3.10/site-packages/cro/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cro/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/cro/__pycache__/cro.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cro/__pycache__/cro.cpython-310.pyc
/usr/lib/python3.10/site-packages/cro/__pycache__/fitness.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cro/__pycache__/fitness.cpython-310.pyc
/usr/lib/python3.10/site-packages/cro/__pycache__/larvaemutation.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cro/__pycache__/larvaemutation.cpython-310.pyc
/usr/lib/python3.10/site-packages/cro/__pycache__/reef_initialization.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cro/__pycache__/reef_initialization.cpython-310.pyc
/usr/lib/python3.10/site-packages/cro/__pycache__/report.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cro/__pycache__/report.cpython-310.pyc
/usr/lib/python3.10/site-packages/cro/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cro/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/cro/cro.py
/usr/lib/python3.10/site-packages/cro/fitness.py
/usr/lib/python3.10/site-packages/cro/larvaemutation.py
/usr/lib/python3.10/site-packages/cro/reef_initialization.py
/usr/lib/python3.10/site-packages/cro/report.py
/usr/lib/python3.10/site-packages/cro/utils.py
/usr/share/doc/python3-cro
/usr/share/doc/python3-cro/README.txt
/usr/share/doc/python3-cro/examples
/usr/share/doc/python3-cro/examples/__init__.py
/usr/share/doc/python3-cro/examples/__pycache__
/usr/share/doc/python3-cro/examples/__pycache__/context.cpython-310.pyc
/usr/share/doc/python3-cro/examples/context.py
/usr/share/doc/python3-cro/examples/example_advanced.py
/usr/share/doc/python3-cro/examples/example_basic.py
/usr/share/licenses/python3-cro
/usr/share/licenses/python3-cro/LICENSE.txt

References

Summary

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