How To Install fedora-repos-ostree on Fedora 36

In this tutorial we learn how to install fedora-repos-ostree in Fedora 36. fedora-repos-ostree is OSTree specific files

Introduction

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

What is fedora-repos-ostree

This package provides ostree specfic files like remote config from where client’s system will pull OSTree updates.

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

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

sudo dnf -y install fedora-repos-ostree

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

sudo yum -y install fedora-repos-ostree

How To Uninstall fedora-repos-ostree on Fedora 36

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

sudo dnf remove fedora-repos-ostree

fedora-repos-ostree Package Contents on Fedora 36

/etc/ostree/remotes.d
/etc/ostree/remotes.d/fedora-compose.conf
/etc/ostree/remotes.d/fedora.conf

References

Summary

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