How To Install generic-release on Fedora 36

In this tutorial we learn how to install generic-release in Fedora 36. generic-release is Generic release files

Introduction

In this tutorial we learn how to install generic-release on Fedora 36.

What is generic-release

Generic release files such as yum configs and various /etc/ files that define the release. This package explicitly is a replacement for the trademarked release package, if you are unable for any reason to abide by the trademark restrictions on that release package.

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

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

sudo dnf -y install generic-release

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

sudo yum -y install generic-release

How To Uninstall generic-release on Fedora 36

To uninstall only the generic-release package we can use the following command:

sudo dnf remove generic-release

generic-release Package Contents on Fedora 36

/usr/lib/os-release

References

Summary

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