How To Install mgarepo on Fedora 36

In this tutorial we learn how to install mgarepo in Fedora 36. mgarepo is Tools for Mageia repository access and management

Introduction

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

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 36. In this tutorial we discuss both methods but you only need to choose one of method to install mgarepo.

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

sudo dnf -y install mgarepo

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

sudo yum -y install mgarepo

How To Uninstall mgarepo on Fedora 36

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

sudo dnf remove mgarepo

mgarepo Package Contents on Fedora 36

/etc/mgarepo.conf
/usr/bin/mgarepo
/usr/bin/mgarepo-ssh
/usr/lib/python3.10/site-packages/MgaRepo
/usr/lib/python3.10/site-packages/MgaRepo/ConfigParser.py
/usr/lib/python3.10/site-packages/MgaRepo/GitHub.py
/usr/lib/python3.10/site-packages/MgaRepo/VCS.py
/usr/lib/python3.10/site-packages/MgaRepo/__init__.py
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/ConfigParser.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/ConfigParser.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/GitHub.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/GitHub.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/VCS.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/VCS.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/binrepo.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/binrepo.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/cgiutil.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/cgiutil.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/command.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/command.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/git.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/git.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/layout.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/layout.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/log.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/log.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/mirror.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/mirror.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/rpmutil.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/rpmutil.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/simplerpm.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/simplerpm.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/svn.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/svn.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/util.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/util.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/vcsutil.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/__pycache__/vcsutil.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/binrepo.py
/usr/lib/python3.10/site-packages/MgaRepo/cgi
/usr/lib/python3.10/site-packages/MgaRepo/cgi/__init__.py
/usr/lib/python3.10/site-packages/MgaRepo/cgi/__pycache__
/usr/lib/python3.10/site-packages/MgaRepo/cgi/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/cgi/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/cgi/__pycache__/soapserver.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/cgi/__pycache__/soapserver.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/cgi/__pycache__/submit.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/cgi/__pycache__/submit.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/cgi/__pycache__/xmlrpcserver.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/cgi/__pycache__/xmlrpcserver.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/cgi/soapserver.py
/usr/lib/python3.10/site-packages/MgaRepo/cgi/submit.py
/usr/lib/python3.10/site-packages/MgaRepo/cgi/xmlrpcserver.py
/usr/lib/python3.10/site-packages/MgaRepo/cgiutil.py
/usr/lib/python3.10/site-packages/MgaRepo/command.py
/usr/lib/python3.10/site-packages/MgaRepo/commands
/usr/lib/python3.10/site-packages/MgaRepo/commands/__init__.py
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/authoremail.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/authoremail.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/buildrpm.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/buildrpm.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/changed.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/changed.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/ci.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/ci.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/clone.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/clone.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/co.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/co.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/create.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/create.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/del.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/del.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/editlog.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/editlog.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/getspec.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/getspec.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/getsrpm.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/getsrpm.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/github.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/github.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/log.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/log.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/maintdb.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/maintdb.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/markrelease.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/markrelease.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/obsolete.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/obsolete.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/patchspec.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/patchspec.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/putsrpm.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/putsrpm.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/rpmlog.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/rpmlog.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/submit.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/submit.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/switch.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/switch.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/sync.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/sync.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/up.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/up.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/upload.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/__pycache__/upload.cpython-310.pyc
/usr/lib/python3.10/site-packages/MgaRepo/commands/authoremail.py
/usr/lib/python3.10/site-packages/MgaRepo/commands/buildrpm.py
/usr/lib/python3.10/site-packages/MgaRepo/commands/changed.py
/usr/lib/python3.10/site-packages/MgaRepo/commands/ci.py
/usr/lib/python3.10/site-packages/MgaRepo/commands/clone.py
/usr/lib/python3.10/site-packages/MgaRepo/commands/co.py
/usr/lib/python3.10/site-packages/MgaRepo/commands/create.py
/usr/lib/python3.10/site-packages/MgaRepo/commands/del.py
/usr/lib/python3.10/site-packages/MgaRepo/commands/editlog.py
/usr/lib/python3.10/site-packages/MgaRepo/commands/getspec.py
/usr/lib/python3.10/site-packages/MgaRepo/commands/getsrpm.py
/usr/lib/python3.10/site-packages/MgaRepo/commands/github.py
/usr/lib/python3.10/site-packages/MgaRepo/commands/log.py
/usr/lib/python3.10/site-packages/MgaRepo/commands/maintdb.py
/usr/lib/python3.10/site-packages/MgaRepo/commands/markrelease.py
/usr/lib/python3.10/site-packages/MgaRepo/commands/obsolete.py
/usr/lib/python3.10/site-packages/MgaRepo/commands/patchspec.py
/usr/lib/python3.10/site-packages/MgaRepo/commands/putsrpm.py
/usr/lib/python3.10/site-packages/MgaRepo/commands/rpmlog.py
/usr/lib/python3.10/site-packages/MgaRepo/commands/submit.py
/usr/lib/python3.10/site-packages/MgaRepo/commands/switch.py
/usr/lib/python3.10/site-packages/MgaRepo/commands/sync.py
/usr/lib/python3.10/site-packages/MgaRepo/commands/up.py
/usr/lib/python3.10/site-packages/MgaRepo/commands/upload.py
/usr/lib/python3.10/site-packages/MgaRepo/git.py
/usr/lib/python3.10/site-packages/MgaRepo/layout.py
/usr/lib/python3.10/site-packages/MgaRepo/log.py
/usr/lib/python3.10/site-packages/MgaRepo/mirror.py
/usr/lib/python3.10/site-packages/MgaRepo/plugins
/usr/lib/python3.10/site-packages/MgaRepo/plugins/__init__.py
/usr/lib/python3.10/site-packages/MgaRepo/plugins/__pycache__
/usr/lib/python3.10/site-packages/MgaRepo/rpmutil.py
/usr/lib/python3.10/site-packages/MgaRepo/simplerpm.py
/usr/lib/python3.10/site-packages/MgaRepo/svn.py
/usr/lib/python3.10/site-packages/MgaRepo/util.py
/usr/lib/python3.10/site-packages/MgaRepo/vcsutil.py
/usr/lib/python3.10/site-packages/mgarepo-1.13.2-py3.10.egg-info
/usr/lib/python3.10/site-packages/mgarepo-1.13.2-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/mgarepo-1.13.2-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/mgarepo-1.13.2-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/mgarepo-1.13.2-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/mgarepo-1.13.2-py3.10.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 36 using yum and [dnf]((/fedora/36/dnf/).