How To Install gsound on Rocky Linux 8

In this tutorial we learn how to install gsound on Rocky Linux 8. gsound is Small gobject library for playing system sounds

Introduction

In this tutorial we learn how to install gsound on Rocky Linux 8.

What is gsound

GSound is a small library for playing system sounds. It’s designed to be used via GObject Introspection, and is a thin wrapper around the libcanberra C library

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

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

sudo dnf -y install gsound

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

sudo yum -y install gsound

How To Uninstall gsound on Rocky Linux 8

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

sudo dnf remove gsound

gsound Package Contents on Rocky Linux 8

/usr/bin/gsound-play
/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/8636f970e50f62f16ed14d22acf0edee54051d
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/74a5c29cc5138aa0b0dc2bf511629d25eb1747
/usr/lib64/girepository-1.0
/usr/lib64/girepository-1.0/GSound-1.0.typelib
/usr/lib64/libgsound.so.0
/usr/lib64/libgsound.so.0.0.2
/usr/share/doc/gsound
/usr/share/doc/gsound/COPYING
/usr/share/doc/gsound/README
/usr/bin/gsound-play
/usr/lib/.build-id
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/df0c28a7db489bbd4c9a16caa94e0c526ad883
/usr/lib/.build-id/52
/usr/lib/.build-id/52/1a9af35ed133a00884db837b84fee5c12bb318
/usr/lib/girepository-1.0
/usr/lib/girepository-1.0/GSound-1.0.typelib
/usr/lib/libgsound.so.0
/usr/lib/libgsound.so.0.0.2
/usr/share/doc/gsound
/usr/share/doc/gsound/COPYING
/usr/share/doc/gsound/README

References

Summary

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