How To Install package-notes on Fedora 36

In this tutorial we learn how to install package-notes in Fedora 36. package-notes is Generate a linker script to insert .note.package section

Introduction

In this tutorial we learn how to install package-notes on Fedora 36.

What is package-notes

This package provides a generator of linker scripts that insert a section with an ELF note with a JSON payload that describes the package the binary was built for.

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

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

sudo dnf -y install package-notes

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

sudo yum -y install package-notes

How To Uninstall package-notes on Fedora 36

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

sudo dnf remove package-notes

package-notes Package Contents on Fedora 36

/usr/bin/generate-package-notes
/usr/share/man/man1/generate-package-notes.1.gz

References

Summary

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