How To Install udisks2-zram on Fedora 36

In this tutorial we learn how to install udisks2-zram in Fedora 36. udisks2-zram is Module for ZRAM

Introduction

In this tutorial we learn how to install udisks2-zram on Fedora 36.

What is udisks2-zram

This package contains module for ZRAM configuration.

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

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

sudo dnf -y install udisks2-zram

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

sudo yum -y install udisks2-zram

How To Uninstall udisks2-zram on Fedora 36

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

sudo dnf remove udisks2-zram

udisks2-zram Package Contents on Fedora 36

/etc/udisks2/modules.conf.d
/usr/lib/.build-id
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/3c52cb9be28a0aaba1158ed9f76aa8fedcf4d1
/usr/lib/systemd/system/[email protected]
/usr/lib/udev/rules.d/90-udisks2-zram.rules
/usr/lib64/udisks2/modules/libudisks2_zram.so
/usr/share/polkit-1/actions/org.freedesktop.UDisks2.zram.policy

References

Summary

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