How To Install genromfs on Fedora 36

In this tutorial we learn how to install genromfs in Fedora 36. genromfs is Utility for creating romfs file systems

Introduction

In this tutorial we learn how to install genromfs on Fedora 36.

What is genromfs

Genromfs is a tool for creating romfs file systems, which are lightweight, read-only file systems supported by the Linux kernel. Romfs file systems are mainly used for the initial RAM disks used during installation. Install genromfs if you need to create romfs file systems.

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

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

sudo dnf -y install genromfs

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

sudo yum -y install genromfs

How To Uninstall genromfs on Fedora 36

To uninstall only the genromfs package we can use the following command:

sudo dnf remove genromfs

genromfs Package Contents on Fedora 36

/usr/bin/genromfs
/usr/lib/.build-id
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/1c47de4b533ce7a0f2473da5144ced5c561a47
/usr/share/doc/genromfs
/usr/share/doc/genromfs/COPYING
/usr/share/doc/genromfs/NEWS
/usr/share/man/man8/genromfs.8.gz

References

Summary

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