How To Install libwayland-server on Rocky Linux 8

In this tutorial we learn how to install libwayland-server on Rocky Linux 8. libwayland-server is Wayland server library

Introduction

In this tutorial we learn how to install libwayland-server on Rocky Linux 8.

What is libwayland-server

Wayland server library

We can use yum or dnf to install libwayland-server on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libwayland-server.

Install libwayland-server on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libwayland-server

Install libwayland-server on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libwayland-server using yum by running the following command:

sudo yum -y install libwayland-server

How To Uninstall libwayland-server on Rocky Linux 8

To uninstall only the libwayland-server package we can use the following command:

sudo dnf remove libwayland-server

libwayland-server Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/b4e0ba431e4537203e54834bd70c1b71c3e8ef
/usr/lib64/libwayland-server.so.0
/usr/lib64/libwayland-server.so.0.1.0
/usr/share/licenses/libwayland-server
/usr/share/licenses/libwayland-server/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/46ad88b5852e95a18b210bec35b2e82278dba6
/usr/lib/libwayland-server.so.0
/usr/lib/libwayland-server.so.0.1.0
/usr/share/licenses/libwayland-server
/usr/share/licenses/libwayland-server/COPYING

References

Summary

In this tutorial we learn how to install libwayland-server on Rocky Linux 8 using yum and dnf.