How To Install mirrormanager2 on Fedora 34

mirrormanager2 is Mirror management application

Introduction

In this tutorial we learn how to install mirrormanager2 on Fedora 34.

What is mirrormanager2

MirrorManager keeps track of the public and private mirrors, that carry Fedora, EPEL, and RHEL content. It is used by the Fedora infrastructure as well as rpmfusion.org, a third-party repository. It automatically selects the “best” mirror for a given user based on a set of fallback heuristics (such as network, country or continent).

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

Install mirrormanager2 on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install mirrormanager2

Install mirrormanager2 on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install mirrormanager2 using yum by running the following command:

sudo yum -y install mirrormanager2

How To Uninstall mirrormanager2 on Fedora 34

To uninstall only the mirrormanager2 package we can use the following command:

sudo dnf remove mirrormanager2

mirrormanager2 Package Contents on Fedora 34

/etc/httpd/conf.d/mirrormanager.conf
/etc/mirrormanager
/etc/mirrormanager/alembic.ini
/etc/mirrormanager/mirrormanager2.cfg
/usr/lib/python3.9/site-packages/mirrormanager2
/usr/lib/python3.9/site-packages/mirrormanager2-0.14-py3.9.egg-info
/usr/lib/python3.9/site-packages/mirrormanager2-0.14-py3.9.egg-info/PKG-INFO
/usr/lib/python3.9/site-packages/mirrormanager2-0.14-py3.9.egg-info/SOURCES.txt
/usr/lib/python3.9/site-packages/mirrormanager2-0.14-py3.9.egg-info/dependency_links.txt
/usr/lib/python3.9/site-packages/mirrormanager2-0.14-py3.9.egg-info/requires.txt
/usr/lib/python3.9/site-packages/mirrormanager2-0.14-py3.9.egg-info/top_level.txt
/usr/lib/python3.9/site-packages/mirrormanager2/__init__.py
/usr/lib/python3.9/site-packages/mirrormanager2/__pycache__
/usr/lib/python3.9/site-packages/mirrormanager2/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mirrormanager2/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/mirrormanager2/__pycache__/admin.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mirrormanager2/__pycache__/admin.cpython-39.pyc
/usr/lib/python3.9/site-packages/mirrormanager2/__pycache__/api.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mirrormanager2/__pycache__/api.cpython-39.pyc
/usr/lib/python3.9/site-packages/mirrormanager2/__pycache__/app.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mirrormanager2/__pycache__/app.cpython-39.pyc
/usr/lib/python3.9/site-packages/mirrormanager2/__pycache__/default_config.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mirrormanager2/__pycache__/default_config.cpython-39.pyc
/usr/lib/python3.9/site-packages/mirrormanager2/__pycache__/forms.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mirrormanager2/__pycache__/forms.cpython-39.pyc
/usr/lib/python3.9/site-packages/mirrormanager2/__pycache__/login.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mirrormanager2/__pycache__/login.cpython-39.pyc
/usr/lib/python3.9/site-packages/mirrormanager2/__pycache__/login_forms.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mirrormanager2/__pycache__/login_forms.cpython-39.pyc
/usr/lib/python3.9/site-packages/mirrormanager2/__pycache__/xml_rpc.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/mirrormanager2/__pycache__/xml_rpc.cpython-39.pyc
/usr/lib/python3.9/site-packages/mirrormanager2/admin.py
/usr/lib/python3.9/site-packages/mirrormanager2/api.py
/usr/lib/python3.9/site-packages/mirrormanager2/app.py
/usr/lib/python3.9/site-packages/mirrormanager2/default_config.py
/usr/lib/python3.9/site-packages/mirrormanager2/forms.py
/usr/lib/python3.9/site-packages/mirrormanager2/login.py
/usr/lib/python3.9/site-packages/mirrormanager2/login_forms.py
/usr/lib/python3.9/site-packages/mirrormanager2/static
/usr/lib/python3.9/site-packages/mirrormanager2/static/fedora
/usr/lib/python3.9/site-packages/mirrormanager2/static/fedora/favicon.ico
/usr/lib/python3.9/site-packages/mirrormanager2/static/fedora/header-bg.png
/usr/lib/python3.9/site-packages/mirrormanager2/static/fedora/jquery-1.11.2.min.js
/usr/lib/python3.9/site-packages/mirrormanager2/static/fedora/koji.css
/usr/lib/python3.9/site-packages/mirrormanager2/static/fedora/mirrormanager-logo.png
/usr/lib/python3.9/site-packages/mirrormanager2/static/fedora/mirrormanager-logo.svg
/usr/lib/python3.9/site-packages/mirrormanager2/static/fedora/mirrormanager2.css
/usr/lib/python3.9/site-packages/mirrormanager2/templates
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/_formhelpers.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/admin
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/admin/actions.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/admin/admin_master.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/admin/index.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/admin/lib.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/admin/model
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/admin/model/create.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/admin/model/edit.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/admin/model/list.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/admin/static.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/host.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/host_acl_ip_new.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/host_asn_new.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/host_category.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/host_category_new.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/host_category_url_new.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/host_country_new.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/host_netblock_new.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/host_new.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/index.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/login.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/maps.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/master.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/master_noauth.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/mirrors.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/my_sites.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/password_change.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/password_reset.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/propagation.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/rsync_filter.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/site.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/site_admin_new.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/site_new.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/statistics.html
/usr/lib/python3.9/site-packages/mirrormanager2/templates/fedora/user_new.html
/usr/lib/python3.9/site-packages/mirrormanager2/xml_rpc.py
/usr/share/doc/mirrormanager2
/usr/share/doc/mirrormanager2/README.rst
/usr/share/doc/mirrormanager2/doc
/usr/share/doc/mirrormanager2/doc/Makefile
/usr/share/doc/mirrormanager2/doc/_static
/usr/share/doc/mirrormanager2/doc/_static/site.css
/usr/share/doc/mirrormanager2/doc/_templates
/usr/share/doc/mirrormanager2/doc/_templates/mm2-logo.html
/usr/share/doc/mirrormanager2/doc/conf.py
/usr/share/doc/mirrormanager2/doc/contributing.rst
/usr/share/doc/mirrormanager2/doc/contributors.rst
/usr/share/doc/mirrormanager2/doc/crawler.rst
/usr/share/doc/mirrormanager2/doc/deployment.rst
/usr/share/doc/mirrormanager2/doc/development.rst
/usr/share/doc/mirrormanager2/doc/index.rst
/usr/share/doc/mirrormanager2/doc/mirrormanager.dia
/usr/share/doc/mirrormanager2/doc/mirrormanager.png
/usr/share/doc/mirrormanager2/doc/requirements.txt
/usr/share/doc/mirrormanager2/doc/structure.rst
/usr/share/mirrormanager2/__pycache__/mirrormanager2_createdb.cpython-39.opt-1.pyc
/usr/share/mirrormanager2/__pycache__/mirrormanager2_createdb.cpython-39.pyc
/usr/share/mirrormanager2/alembic
/usr/share/mirrormanager2/alembic/__pycache__
/usr/share/mirrormanager2/alembic/__pycache__/env.cpython-39.opt-1.pyc
/usr/share/mirrormanager2/alembic/__pycache__/env.cpython-39.pyc
/usr/share/mirrormanager2/alembic/env.py
/usr/share/mirrormanager2/alembic/script.py.mako
/usr/share/mirrormanager2/alembic/versions
/usr/share/mirrormanager2/alembic/versions/24681dabe5fa_add_host_columns.py
/usr/share/mirrormanager2/alembic/versions/__pycache__
/usr/share/mirrormanager2/alembic/versions/__pycache__/24681dabe5fa_add_host_columns.cpython-39.opt-1.pyc
/usr/share/mirrormanager2/alembic/versions/__pycache__/24681dabe5fa_add_host_columns.cpython-39.pyc
/usr/share/mirrormanager2/mirrormanager2.wsgi
/usr/share/mirrormanager2/mirrormanager2_createdb.py

References

Summary

In this tutorial we learn how to install mirrormanager2 on Fedora 34 using yum and dnf.