How To Install xrandr on Fedora 36

In this tutorial we learn how to install xrandr in Fedora 36. xrandr is Commandline utility to change output properties

Introduction

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

What is xrandr

xrandr is a commandline utility to set the size, orientation and/or reflection of the outputs for an X screen. It can also set the screen size and turn outputs on and off..

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

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

sudo dnf -y install xrandr

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

sudo yum -y install xrandr

How To Uninstall xrandr on Fedora 36

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

sudo dnf remove xrandr

xrandr Package Contents on Fedora 36

/usr/bin/xrandr
/usr/lib/.build-id
/usr/lib/.build-id/55
/usr/lib/.build-id/55/c30ac6c01f6d54b572d8ecc14c7223883a466e
/usr/share/licenses/xrandr
/usr/share/licenses/xrandr/COPYING
/usr/share/man/man1/xrandr.1.gz

References

Summary

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