How To Install python3-emcee on Fedora 36

In this tutorial we learn how to install python3-emcee in Fedora 36. python3-emcee is The Python ensemble sampling toolkit for affine-invariant MCMC

Introduction

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

What is python3-emcee

emcee is a stable, well tested Python implementation of the affine-invariant ensemble sampler for Markov chain Monte Carlo (MCMC) proposed by Goodman & Weare (2010). The code is open source and has already been used in several published projects in the Astrophysics literature.

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

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

sudo dnf -y install python3-emcee

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

sudo yum -y install python3-emcee

How To Uninstall python3-emcee on Fedora 36

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

sudo dnf remove python3-emcee

python3-emcee Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/emcee
/usr/lib/python3.10/site-packages/emcee-3.1.1-py3.10.egg-info
/usr/lib/python3.10/site-packages/emcee-3.1.1-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/emcee-3.1.1-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/emcee-3.1.1-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/emcee-3.1.1-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/emcee-3.1.1-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/emcee-3.1.1-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/emcee/__init__.py
/usr/lib/python3.10/site-packages/emcee/__pycache__
/usr/lib/python3.10/site-packages/emcee/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/__pycache__/autocorr.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/__pycache__/autocorr.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/__pycache__/emcee_version.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/__pycache__/emcee_version.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/__pycache__/ensemble.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/__pycache__/ensemble.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/__pycache__/interruptible_pool.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/__pycache__/interruptible_pool.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/__pycache__/model.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/__pycache__/model.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/__pycache__/mpi_pool.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/__pycache__/mpi_pool.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/__pycache__/pbar.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/__pycache__/pbar.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/__pycache__/ptsampler.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/__pycache__/ptsampler.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/__pycache__/state.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/__pycache__/state.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/autocorr.py
/usr/lib/python3.10/site-packages/emcee/backends
/usr/lib/python3.10/site-packages/emcee/backends/__init__.py
/usr/lib/python3.10/site-packages/emcee/backends/__pycache__
/usr/lib/python3.10/site-packages/emcee/backends/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/backends/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/backends/__pycache__/backend.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/backends/__pycache__/backend.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/backends/__pycache__/hdf.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/backends/__pycache__/hdf.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/backends/backend.py
/usr/lib/python3.10/site-packages/emcee/backends/hdf.py
/usr/lib/python3.10/site-packages/emcee/emcee_version.py
/usr/lib/python3.10/site-packages/emcee/ensemble.py
/usr/lib/python3.10/site-packages/emcee/interruptible_pool.py
/usr/lib/python3.10/site-packages/emcee/model.py
/usr/lib/python3.10/site-packages/emcee/moves
/usr/lib/python3.10/site-packages/emcee/moves/__init__.py
/usr/lib/python3.10/site-packages/emcee/moves/__pycache__
/usr/lib/python3.10/site-packages/emcee/moves/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/moves/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/moves/__pycache__/de.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/moves/__pycache__/de.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/moves/__pycache__/de_snooker.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/moves/__pycache__/de_snooker.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/moves/__pycache__/gaussian.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/moves/__pycache__/gaussian.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/moves/__pycache__/kde.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/moves/__pycache__/kde.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/moves/__pycache__/mh.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/moves/__pycache__/mh.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/moves/__pycache__/move.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/moves/__pycache__/move.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/moves/__pycache__/red_blue.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/moves/__pycache__/red_blue.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/moves/__pycache__/stretch.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/moves/__pycache__/stretch.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/moves/__pycache__/walk.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/moves/__pycache__/walk.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/moves/de.py
/usr/lib/python3.10/site-packages/emcee/moves/de_snooker.py
/usr/lib/python3.10/site-packages/emcee/moves/gaussian.py
/usr/lib/python3.10/site-packages/emcee/moves/kde.py
/usr/lib/python3.10/site-packages/emcee/moves/mh.py
/usr/lib/python3.10/site-packages/emcee/moves/move.py
/usr/lib/python3.10/site-packages/emcee/moves/red_blue.py
/usr/lib/python3.10/site-packages/emcee/moves/stretch.py
/usr/lib/python3.10/site-packages/emcee/moves/walk.py
/usr/lib/python3.10/site-packages/emcee/mpi_pool.py
/usr/lib/python3.10/site-packages/emcee/pbar.py
/usr/lib/python3.10/site-packages/emcee/ptsampler.py
/usr/lib/python3.10/site-packages/emcee/state.py
/usr/lib/python3.10/site-packages/emcee/tests
/usr/lib/python3.10/site-packages/emcee/tests/__init__.py
/usr/lib/python3.10/site-packages/emcee/tests/__pycache__
/usr/lib/python3.10/site-packages/emcee/tests/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/tests/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/tests/integration
/usr/lib/python3.10/site-packages/emcee/tests/integration/__init__.py
/usr/lib/python3.10/site-packages/emcee/tests/integration/__pycache__
/usr/lib/python3.10/site-packages/emcee/tests/integration/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/tests/integration/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/tests/integration/__pycache__/test_de.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/tests/integration/__pycache__/test_de.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/tests/integration/__pycache__/test_de_snooker.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/tests/integration/__pycache__/test_de_snooker.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/tests/integration/__pycache__/test_gaussian.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/tests/integration/__pycache__/test_gaussian.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/tests/integration/__pycache__/test_kde.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/tests/integration/__pycache__/test_kde.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/tests/integration/__pycache__/test_longdouble.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/tests/integration/__pycache__/test_longdouble.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/tests/integration/__pycache__/test_proposal.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/tests/integration/__pycache__/test_proposal.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/tests/integration/__pycache__/test_stretch.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/tests/integration/__pycache__/test_stretch.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/tests/integration/__pycache__/test_walk.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/tests/integration/__pycache__/test_walk.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/tests/integration/test_de.py
/usr/lib/python3.10/site-packages/emcee/tests/integration/test_de_snooker.py
/usr/lib/python3.10/site-packages/emcee/tests/integration/test_gaussian.py
/usr/lib/python3.10/site-packages/emcee/tests/integration/test_kde.py
/usr/lib/python3.10/site-packages/emcee/tests/integration/test_longdouble.py
/usr/lib/python3.10/site-packages/emcee/tests/integration/test_proposal.py
/usr/lib/python3.10/site-packages/emcee/tests/integration/test_stretch.py
/usr/lib/python3.10/site-packages/emcee/tests/integration/test_walk.py
/usr/lib/python3.10/site-packages/emcee/tests/unit
/usr/lib/python3.10/site-packages/emcee/tests/unit/__init__.py
/usr/lib/python3.10/site-packages/emcee/tests/unit/__pycache__
/usr/lib/python3.10/site-packages/emcee/tests/unit/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/tests/unit/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/tests/unit/__pycache__/test_autocorr.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/tests/unit/__pycache__/test_autocorr.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/tests/unit/__pycache__/test_backends.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/tests/unit/__pycache__/test_backends.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/tests/unit/__pycache__/test_blobs.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/tests/unit/__pycache__/test_blobs.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/tests/unit/__pycache__/test_ensemble.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/tests/unit/__pycache__/test_ensemble.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/tests/unit/__pycache__/test_sampler.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/tests/unit/__pycache__/test_sampler.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/tests/unit/__pycache__/test_state.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/tests/unit/__pycache__/test_state.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/tests/unit/__pycache__/test_stretch.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/emcee/tests/unit/__pycache__/test_stretch.cpython-310.pyc
/usr/lib/python3.10/site-packages/emcee/tests/unit/test_autocorr.py
/usr/lib/python3.10/site-packages/emcee/tests/unit/test_backends.py
/usr/lib/python3.10/site-packages/emcee/tests/unit/test_blobs.py
/usr/lib/python3.10/site-packages/emcee/tests/unit/test_ensemble.py
/usr/lib/python3.10/site-packages/emcee/tests/unit/test_sampler.py
/usr/lib/python3.10/site-packages/emcee/tests/unit/test_state.py
/usr/lib/python3.10/site-packages/emcee/tests/unit/test_stretch.py
/usr/lib/python3.10/site-packages/emcee/utils.py
/usr/share/doc/python3-emcee
/usr/share/doc/python3-emcee/AUTHORS.rst
/usr/share/doc/python3-emcee/HISTORY.rst
/usr/share/doc/python3-emcee/README.rst
/usr/share/licenses/python3-emcee
/usr/share/licenses/python3-emcee/LICENSE

References

Summary

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