How To Install gsound on CentOS 8

gsound is Small gobject library for playing system sounds Small gobject library for playing system sounds

Introduction

In this tutorial we learn how to install gsound on CentOS 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 gsound 1.0.2 6.el8 x86_64 35 k gsound-1.0.2-6.el8.src.rpm appstream Small gobject library for playing system sounds https LGPLv2 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install gsound.

Install gsound on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install gsound

Install gsound on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8

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

sudo dnf remove gsound

gsound Package Contents on CentOS 8

/usr/bin/gsound-play
/usr/lib/.build-id
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/758a1811a937f4436cc9fdc8d392c9a3242aaf
/usr/lib/.build-id/84
/usr/lib/.build-id/84/7ccb45db35a53ca9aa30526531530af6b9650e
/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/64
/usr/lib/.build-id/64/a34c2c76b47bafd7e1c58b487586c73922bc42
/usr/lib/.build-id/67
/usr/lib/.build-id/67/ac16557cd172096cf727612cc1497bee9986cb
/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 CentOS 8 using yum and dnf.