How To Install compton on Fedora 36

In this tutorial we learn how to install compton in Fedora 36. compton is A compositor for X11

Introduction

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

What is compton

Compton is a compositor for X, and a fork of xcompmgr-dana.

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

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

sudo dnf -y install compton

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

sudo yum -y install compton

How To Uninstall compton on Fedora 36

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

sudo dnf remove compton

compton Package Contents on Fedora 36

/usr/bin/compton
/usr/bin/compton-trans
/usr/lib/.build-id
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/cfceb4fde127c479b28a079bcdbddc2bf45e58
/usr/share/applications/compton.desktop
/usr/share/doc/compton
/usr/share/doc/compton/README.md
/usr/share/icons/hicolor/48x48/apps/compton.png
/usr/share/icons/hicolor/scalable/apps/compton.svg
/usr/share/licenses/compton
/usr/share/licenses/compton/LICENSE
/usr/share/man/man1/compton-trans.1.gz
/usr/share/man/man1/compton.1.gz

References

Summary

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