How To Install fedora-repos on Fedora 36
Introduction
In this tutorial we learn how to install fedora-repos
on Fedora 36.
What is fedora-repos
Fedora package repository files for yum and dnf along with gpg public keys.
We can use yum
or dnf
to install fedora-repos
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install fedora-repos.
Install fedora-repos 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
using dnf
by running the following command:
sudo dnf -y install fedora-repos
Install fedora-repos 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
using yum
by running the following command:
sudo yum -y install fedora-repos
How To Uninstall fedora-repos on Fedora 36
To uninstall only the fedora-repos
package we can use the following command:
sudo dnf remove fedora-repos
fedora-repos Package Contents on Fedora 36
/etc/yum.repos.d
/etc/yum.repos.d/fedora-cisco-openh264.repo
/etc/yum.repos.d/fedora-updates-testing.repo
/etc/yum.repos.d/fedora-updates.repo
/etc/yum.repos.d/fedora.repo
References
Summary
In this tutorial we learn how to install fedora-repos
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).