How To Install scrot on Fedora 36

In this tutorial we learn how to install scrot in Fedora 36. scrot is Command line screen capture utility

Introduction

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

What is scrot

scrot is a simple command line screen capture utility.

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

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

sudo dnf -y install scrot

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

sudo yum -y install scrot

How To Uninstall scrot on Fedora 36

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

sudo dnf remove scrot

scrot Package Contents on Fedora 36

/usr/bin/scrot
/usr/lib/.build-id
/usr/lib/.build-id/63
/usr/lib/.build-id/63/2a75d23e726fba94c6c1aef26445d79c507a31
/usr/share/doc/scrot
/usr/share/doc/scrot/AUTHORS
/usr/share/doc/scrot/ChangeLog
/usr/share/doc/scrot/README.md
/usr/share/doc/scrot/scrot.png
/usr/share/licenses/scrot
/usr/share/licenses/scrot/COPYING
/usr/share/man/man1/scrot.1.gz

References

Summary

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