How To Install swaybg on Fedora 36

In this tutorial we learn how to install swaybg in Fedora 36. swaybg is Wallpaper tool for Wayland compositors

Introduction

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

What is swaybg

Wallpaper tool for Wayland compositors.

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

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

sudo dnf -y install swaybg

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

sudo yum -y install swaybg

How To Uninstall swaybg on Fedora 36

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

sudo dnf remove swaybg

swaybg Package Contents on Fedora 36

/usr/bin/swaybg
/usr/lib/.build-id
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/f73e1e3c5449d3f808b8567891259aa6975258
/usr/share/doc/swaybg
/usr/share/doc/swaybg/README.md
/usr/share/licenses/swaybg
/usr/share/licenses/swaybg/LICENSE
/usr/share/man/man1/swaybg.1.gz

References

Summary

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