How To Install mgarepo on Fedora 34

mgarepo is Tools for Mageia repository access and management

Introduction

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

What is mgarepo

Tools for Mageia repository access and management. It is a fork of repsys <http

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

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

sudo dnf -y install mgarepo

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

sudo yum -y install mgarepo

How To Uninstall mgarepo on Fedora 34

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

sudo dnf remove mgarepo

mgarepo Package Contents on Fedora 34

/etc/mgarepo.conf
/usr/bin/mgarepo
/usr/bin/mgarepo-ssh
/usr/lib/python3.9/site-packages/MgaRepo
/usr/lib/python3.9/site-packages/MgaRepo/ConfigParser.py
/usr/lib/python3.9/site-packages/MgaRepo/GitHub.py
/usr/lib/python3.9/site-packages/MgaRepo/VCS.py
/usr/lib/python3.9/site-packages/MgaRepo/__init__.py
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/ConfigParser.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/ConfigParser.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/GitHub.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/GitHub.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/VCS.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/VCS.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/binrepo.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/binrepo.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/cgiutil.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/cgiutil.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/command.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/command.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/git.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/git.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/layout.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/layout.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/log.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/log.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/mirror.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/mirror.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/rpmutil.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/rpmutil.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/simplerpm.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/simplerpm.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/svn.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/svn.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/util.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/util.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/vcsutil.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/__pycache__/vcsutil.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/binrepo.py
/usr/lib/python3.9/site-packages/MgaRepo/cgi
/usr/lib/python3.9/site-packages/MgaRepo/cgi/__init__.py
/usr/lib/python3.9/site-packages/MgaRepo/cgi/__pycache__
/usr/lib/python3.9/site-packages/MgaRepo/cgi/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/cgi/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/cgi/__pycache__/soapserver.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/cgi/__pycache__/soapserver.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/cgi/__pycache__/submit.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/cgi/__pycache__/submit.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/cgi/__pycache__/xmlrpcserver.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/cgi/__pycache__/xmlrpcserver.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/cgi/soapserver.py
/usr/lib/python3.9/site-packages/MgaRepo/cgi/submit.py
/usr/lib/python3.9/site-packages/MgaRepo/cgi/xmlrpcserver.py
/usr/lib/python3.9/site-packages/MgaRepo/cgiutil.py
/usr/lib/python3.9/site-packages/MgaRepo/command.py
/usr/lib/python3.9/site-packages/MgaRepo/commands
/usr/lib/python3.9/site-packages/MgaRepo/commands/__init__.py
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/authoremail.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/authoremail.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/buildrpm.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/buildrpm.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/changed.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/changed.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/ci.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/ci.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/clone.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/clone.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/co.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/co.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/create.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/create.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/del.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/del.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/editlog.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/editlog.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/getspec.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/getspec.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/getsrpm.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/getsrpm.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/github.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/github.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/log.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/log.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/maintdb.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/maintdb.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/markrelease.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/markrelease.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/obsolete.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/obsolete.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/patchspec.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/patchspec.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/putsrpm.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/putsrpm.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/rpmlog.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/rpmlog.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/submit.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/submit.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/switch.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/switch.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/sync.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/sync.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/up.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/up.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/upload.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/__pycache__/upload.cpython-39.pyc
/usr/lib/python3.9/site-packages/MgaRepo/commands/authoremail.py
/usr/lib/python3.9/site-packages/MgaRepo/commands/buildrpm.py
/usr/lib/python3.9/site-packages/MgaRepo/commands/changed.py
/usr/lib/python3.9/site-packages/MgaRepo/commands/ci.py
/usr/lib/python3.9/site-packages/MgaRepo/commands/clone.py
/usr/lib/python3.9/site-packages/MgaRepo/commands/co.py
/usr/lib/python3.9/site-packages/MgaRepo/commands/create.py
/usr/lib/python3.9/site-packages/MgaRepo/commands/del.py
/usr/lib/python3.9/site-packages/MgaRepo/commands/editlog.py
/usr/lib/python3.9/site-packages/MgaRepo/commands/getspec.py
/usr/lib/python3.9/site-packages/MgaRepo/commands/getsrpm.py
/usr/lib/python3.9/site-packages/MgaRepo/commands/github.py
/usr/lib/python3.9/site-packages/MgaRepo/commands/log.py
/usr/lib/python3.9/site-packages/MgaRepo/commands/maintdb.py
/usr/lib/python3.9/site-packages/MgaRepo/commands/markrelease.py
/usr/lib/python3.9/site-packages/MgaRepo/commands/obsolete.py
/usr/lib/python3.9/site-packages/MgaRepo/commands/patchspec.py
/usr/lib/python3.9/site-packages/MgaRepo/commands/putsrpm.py
/usr/lib/python3.9/site-packages/MgaRepo/commands/rpmlog.py
/usr/lib/python3.9/site-packages/MgaRepo/commands/submit.py
/usr/lib/python3.9/site-packages/MgaRepo/commands/switch.py
/usr/lib/python3.9/site-packages/MgaRepo/commands/sync.py
/usr/lib/python3.9/site-packages/MgaRepo/commands/up.py
/usr/lib/python3.9/site-packages/MgaRepo/commands/upload.py
/usr/lib/python3.9/site-packages/MgaRepo/git.py
/usr/lib/python3.9/site-packages/MgaRepo/layout.py
/usr/lib/python3.9/site-packages/MgaRepo/log.py
/usr/lib/python3.9/site-packages/MgaRepo/mirror.py
/usr/lib/python3.9/site-packages/MgaRepo/plugins
/usr/lib/python3.9/site-packages/MgaRepo/plugins/__init__.py
/usr/lib/python3.9/site-packages/MgaRepo/plugins/__pycache__
/usr/lib/python3.9/site-packages/MgaRepo/rpmutil.py
/usr/lib/python3.9/site-packages/MgaRepo/simplerpm.py
/usr/lib/python3.9/site-packages/MgaRepo/svn.py
/usr/lib/python3.9/site-packages/MgaRepo/util.py
/usr/lib/python3.9/site-packages/MgaRepo/vcsutil.py
/usr/lib/python3.9/site-packages/mgarepo-1.13.2-py3.9.egg-info
/usr/lib/python3.9/site-packages/mgarepo-1.13.2-py3.9.egg-info/PKG-INFO
/usr/lib/python3.9/site-packages/mgarepo-1.13.2-py3.9.egg-info/SOURCES.txt
/usr/lib/python3.9/site-packages/mgarepo-1.13.2-py3.9.egg-info/dependency_links.txt
/usr/lib/python3.9/site-packages/mgarepo-1.13.2-py3.9.egg-info/requires.txt
/usr/lib/python3.9/site-packages/mgarepo-1.13.2-py3.9.egg-info/top_level.txt
/usr/share/bash-completion/completions/mgarepo
/usr/share/doc/mgarepo
/usr/share/doc/mgarepo/CHANGES
/usr/share/doc/mgarepo/README.BINREPO
/usr/share/doc/mgarepo/mgarepo-example.conf
/usr/share/man/man8/mgarepo.8.gz
/usr/share/mgarepo
/usr/share/mgarepo/create-srpm

References

Summary

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