How To Install fedora-repos-modular on Fedora 36

In this tutorial we learn how to install fedora-repos-modular in Fedora 36. fedora-repos-modular is Fedora modular package repositories

Introduction

In this tutorial we learn how to install fedora-repos-modular on Fedora 36.

What is fedora-repos-modular

This package provides the repo definitions with modular packages.

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

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

sudo dnf -y install fedora-repos-modular

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

sudo yum -y install fedora-repos-modular

How To Uninstall fedora-repos-modular on Fedora 36

To uninstall only the fedora-repos-modular package we can use the following command:

sudo dnf remove fedora-repos-modular

fedora-repos-modular Package Contents on Fedora 36

/etc/yum.repos.d/fedora-modular.repo
/etc/yum.repos.d/fedora-updates-modular.repo
/etc/yum.repos.d/fedora-updates-testing-modular.repo

References

Summary

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