How To Install python3-mitogen on Fedora 36

In this tutorial we learn how to install python3-mitogen in Fedora 36. python3-mitogen is Distributed self-replicating programs in Python

Introduction

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

What is python3-mitogen

Mitogen is a Python library for writing distributed self-replicating programs. There is no requirement for installing packages, copying files around, writing shell snippets, upfront configuration, or providing any secondary link to a remote machine aside from an SSH connection. Due to its origins for use in managing potentially damaged infrastructure, the remote machine need not even have free disk space or a writeable filesystem. It is not intended as a generic RPC framework; the goal is to provide a robust and efficient low-level API on which tools like Salt, Ansible, or Fabric can be built, and while the API is quite friendly and comparable to Fabric, ultimately it is not intended for direct use by consumer software. The focus is to centralize and perfect the intricate dance required to run Python code safely and efficiently on a remote machine, while avoiding temporary files or large chunks of error-prone shell scripts, and supporting common privilege escalation techniques like sudo, potentially in combination with exotic connection methods such as WMI, telnet, or console-over-IPMI.

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

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

sudo dnf -y install python3-mitogen

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

sudo yum -y install python3-mitogen

How To Uninstall python3-mitogen on Fedora 36

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

sudo dnf remove python3-mitogen

python3-mitogen Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/ansible_mitogen
/usr/lib/python3.10/site-packages/ansible_mitogen/__init__.py
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/affinity.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/affinity.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/connection.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/connection.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/loaders.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/loaders.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/logging.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/logging.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/mixins.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/mixins.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/module_finder.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/module_finder.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/parsing.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/parsing.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/planner.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/planner.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/process.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/process.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/runner.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/runner.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/services.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/services.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/strategy.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/strategy.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/target.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/target.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/transport_config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/__pycache__/transport_config.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/affinity.py
/usr/lib/python3.10/site-packages/ansible_mitogen/connection.py
/usr/lib/python3.10/site-packages/ansible_mitogen/loaders.py
/usr/lib/python3.10/site-packages/ansible_mitogen/logging.py
/usr/lib/python3.10/site-packages/ansible_mitogen/mixins.py
/usr/lib/python3.10/site-packages/ansible_mitogen/module_finder.py
/usr/lib/python3.10/site-packages/ansible_mitogen/parsing.py
/usr/lib/python3.10/site-packages/ansible_mitogen/planner.py
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/__init__.py
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/__pycache__
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/action
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/action/__init__.py
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/action/__pycache__
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/action/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/action/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/action/__pycache__/mitogen_fetch.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/action/__pycache__/mitogen_fetch.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/action/__pycache__/mitogen_get_stack.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/action/__pycache__/mitogen_get_stack.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/action/mitogen_fetch.py
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/action/mitogen_get_stack.py
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__init__.py
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/mitogen_buildah.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/mitogen_buildah.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/mitogen_doas.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/mitogen_doas.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/mitogen_docker.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/mitogen_docker.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/mitogen_jail.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/mitogen_jail.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/mitogen_kubectl.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/mitogen_kubectl.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/mitogen_local.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/mitogen_local.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/mitogen_lxc.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/mitogen_lxc.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/mitogen_lxd.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/mitogen_lxd.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/mitogen_machinectl.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/mitogen_machinectl.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/mitogen_setns.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/mitogen_setns.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/mitogen_ssh.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/mitogen_ssh.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/mitogen_su.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/mitogen_su.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/mitogen_sudo.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/__pycache__/mitogen_sudo.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/mitogen_buildah.py
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/mitogen_doas.py
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/mitogen_docker.py
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/mitogen_jail.py
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/mitogen_kubectl.py
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/mitogen_local.py
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/mitogen_lxc.py
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/mitogen_lxd.py
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/mitogen_machinectl.py
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/mitogen_setns.py
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/mitogen_ssh.py
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/mitogen_su.py
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/connection/mitogen_sudo.py
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/strategy
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/strategy/__init__.py
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/strategy/__pycache__
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/strategy/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/strategy/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/strategy/__pycache__/mitogen.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/strategy/__pycache__/mitogen.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/strategy/__pycache__/mitogen_free.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/strategy/__pycache__/mitogen_free.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/strategy/__pycache__/mitogen_host_pinned.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/strategy/__pycache__/mitogen_host_pinned.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/strategy/__pycache__/mitogen_linear.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/strategy/__pycache__/mitogen_linear.cpython-310.pyc
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/strategy/mitogen.py
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/strategy/mitogen_free.py
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/strategy/mitogen_host_pinned.py
/usr/lib/python3.10/site-packages/ansible_mitogen/plugins/strategy/mitogen_linear.py
/usr/lib/python3.10/site-packages/ansible_mitogen/process.py
/usr/lib/python3.10/site-packages/ansible_mitogen/runner.py
/usr/lib/python3.10/site-packages/ansible_mitogen/services.py
/usr/lib/python3.10/site-packages/ansible_mitogen/strategy.py
/usr/lib/python3.10/site-packages/ansible_mitogen/target.py
/usr/lib/python3.10/site-packages/ansible_mitogen/transport_config.py
/usr/lib/python3.10/site-packages/mitogen
/usr/lib/python3.10/site-packages/mitogen-0.2.9-py3.10.egg-info
/usr/lib/python3.10/site-packages/mitogen-0.2.9-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/mitogen-0.2.9-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/mitogen-0.2.9-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/mitogen-0.2.9-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/mitogen-0.2.9-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/mitogen/__init__.py
/usr/lib/python3.10/site-packages/mitogen/__pycache__
/usr/lib/python3.10/site-packages/mitogen/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/buildah.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/buildah.cpython-310.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/core.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/core.cpython-310.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/debug.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/debug.cpython-310.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/doas.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/doas.cpython-310.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/docker.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/docker.cpython-310.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/fakessh.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/fakessh.cpython-310.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/fork.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/fork.cpython-310.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/jail.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/jail.cpython-310.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/kubectl.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/kubectl.cpython-310.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/lxc.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/lxc.cpython-310.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/lxd.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/lxd.cpython-310.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/master.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/master.cpython-310.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/minify.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/minify.cpython-310.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/os_fork.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/os_fork.cpython-310.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/parent.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/parent.cpython-310.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/profiler.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/profiler.cpython-310.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/select.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/select.cpython-310.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/service.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/service.cpython-310.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/setns.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/setns.cpython-310.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/ssh.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/ssh.cpython-310.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/su.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/su.cpython-310.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/sudo.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/sudo.cpython-310.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/unix.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/unix.cpython-310.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mitogen/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/mitogen/buildah.py
/usr/lib/python3.10/site-packages/mitogen/core.py
/usr/lib/python3.10/site-packages/mitogen/debug.py
/usr/lib/python3.10/site-packages/mitogen/doas.py
/usr/lib/python3.10/site-packages/mitogen/docker.py
/usr/lib/python3.10/site-packages/mitogen/fakessh.py
/usr/lib/python3.10/site-packages/mitogen/fork.py
/usr/lib/python3.10/site-packages/mitogen/jail.py
/usr/lib/python3.10/site-packages/mitogen/kubectl.py
/usr/lib/python3.10/site-packages/mitogen/lxc.py
/usr/lib/python3.10/site-packages/mitogen/lxd.py
/usr/lib/python3.10/site-packages/mitogen/master.py
/usr/lib/python3.10/site-packages/mitogen/minify.py
/usr/lib/python3.10/site-packages/mitogen/os_fork.py
/usr/lib/python3.10/site-packages/mitogen/parent.py
/usr/lib/python3.10/site-packages/mitogen/profiler.py
/usr/lib/python3.10/site-packages/mitogen/select.py
/usr/lib/python3.10/site-packages/mitogen/service.py
/usr/lib/python3.10/site-packages/mitogen/setns.py
/usr/lib/python3.10/site-packages/mitogen/ssh.py
/usr/lib/python3.10/site-packages/mitogen/su.py
/usr/lib/python3.10/site-packages/mitogen/sudo.py
/usr/lib/python3.10/site-packages/mitogen/unix.py
/usr/lib/python3.10/site-packages/mitogen/utils.py
/usr/share/doc/python3-mitogen
/usr/share/doc/python3-mitogen/README.md
/usr/share/licenses/python3-mitogen
/usr/share/licenses/python3-mitogen/LICENSE

References

Summary

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