How To Install distro-info on Fedora 36

In this tutorial we learn how to install distro-info in Fedora 36. distro-info is Provides information about releases of Debian and Ubuntu

Introduction

In this tutorial we learn how to install distro-info on Fedora 36.

What is distro-info

Information about all releases of Debian and Ubuntu. The distro-info script will give you the codename for e.g. the latest stable release of your distribution. To get information about a specific distribution there are the debian-distro-info and the ubuntu-distro-info scripts.

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

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

sudo dnf -y install distro-info

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

sudo yum -y install distro-info

How To Uninstall distro-info on Fedora 36

To uninstall only the distro-info package we can use the following command:

sudo dnf remove distro-info

distro-info Package Contents on Fedora 36

/usr/bin/debian-distro-info
/usr/bin/ubuntu-distro-info
/usr/lib/.build-id
/usr/lib/.build-id/23
/usr/lib/.build-id/23/0747b83c00330bffb79750d5fc82530339d9b8
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/a5d3c4766bdce0ee346783eb95f83faeab3b82
/usr/share/distro-info
/usr/share/distro-info/shunit2-helper-functions.sh
/usr/share/distro-info/test-debian-distro-info
/usr/share/distro-info/test-ubuntu-distro-info
/usr/share/licenses/distro-info
/usr/share/licenses/distro-info/copyright
/usr/share/man/man1/debian-distro-info.1.gz
/usr/share/man/man1/distro-info.1.gz
/usr/share/man/man1/ubuntu-distro-info.1.gz

References

Summary

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