How To Install wayland-logout on Fedora 36

In this tutorial we learn how to install wayland-logout in Fedora 36. wayland-logout is Simple program that sends SIGTERM to a wayland compositor

Introduction

In this tutorial we learn how to install wayland-logout on Fedora 36.

What is wayland-logout

Wayland Logout is an utility designed to kill any wayland compositor that uses libwayland-server. It looks up the PID for the socket file by checking the socket path environment variables and sends a SIGTERM signal. This is useful as a way to logout of a wayland compositor, as the name implies.

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

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

sudo dnf -y install wayland-logout

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

sudo yum -y install wayland-logout

How To Uninstall wayland-logout on Fedora 36

To uninstall only the wayland-logout package we can use the following command:

sudo dnf remove wayland-logout

wayland-logout Package Contents on Fedora 36

/usr/bin/wayland-logout
/usr/lib/.build-id
/usr/lib/.build-id/70
/usr/lib/.build-id/70/475b389798b8e463236d838ef4e5a993191349
/usr/share/doc/wayland-logout
/usr/share/doc/wayland-logout/README.md
/usr/share/licenses/wayland-logout
/usr/share/licenses/wayland-logout/LICENSE
/usr/share/man/man1/wayland-logout.1.gz

References

Summary

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