How To Install picom on Fedora 34

picom is Lightweight compositor for X11 (previously a compton fork)

Introduction

In this tutorial we learn how to install picom on Fedora 34.

What is picom

This is forked from the original Compton because that seems to have become unmaintained. The current battle plan of this fork is to refactor it to make the code possible to maintain, so potential contributors won’t be scared away when they take a look at the code. We also try to fix bugs.

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

Install picom on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install picom using dnf by running the following command:

sudo dnf -y install picom

Install picom on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install picom using yum by running the following command:

sudo yum -y install picom

How To Uninstall picom on Fedora 34

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

sudo dnf remove picom

picom Package Contents on Fedora 34

/usr/bin/compton
/usr/bin/compton-trans
/usr/bin/picom
/usr/bin/picom-trans
/usr/lib/.build-id
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/63d5a369604e8cb1e07e8a52740293c12f6a08
/usr/share/applications/compton.desktop
/usr/share/applications/picom.desktop
/usr/share/doc/picom
/usr/share/doc/picom/CONTRIBUTORS
/usr/share/doc/picom/README.md
/usr/share/doc/picom/picom.sample.conf
/usr/share/icons/hicolor/48x48/apps/compton.png
/usr/share/icons/hicolor/scalable/apps/compton.svg
/usr/share/licenses/picom
/usr/share/licenses/picom/COPYING
/usr/share/licenses/picom/MIT
/usr/share/licenses/picom/MPL-2.0

References

Summary

In this tutorial we learn how to install picom on Fedora 34 using yum and dnf.