How To Install libcanberra-gtk3 on Rocky Linux 8

In this tutorial we learn how to install libcanberra-gtk3 on Rocky Linux 8. libcanberra-gtk3 is Gtk+ 3.x Bindings for libcanberra

Introduction

In this tutorial we learn how to install libcanberra-gtk3 on Rocky Linux 8.

What is libcanberra-gtk3

Gtk+ 3.x bindings for libcanberra

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

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

sudo dnf -y install libcanberra-gtk3

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

sudo yum -y install libcanberra-gtk3

How To Uninstall libcanberra-gtk3 on Rocky Linux 8

To uninstall only the libcanberra-gtk3 package we can use the following command:

sudo dnf remove libcanberra-gtk3

libcanberra-gtk3 Package Contents on Rocky Linux 8

/usr/bin/canberra-gtk-play
/usr/lib/.build-id
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/6f03cfc9ff0cb0b6f06fee962043f6cd551e57
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/fce9e7609e1b70bbc7a1ed097bdf93a371c9d8
/usr/lib/.build-id/eb/790006a7bb72b88a898ad8ef393809b3150fdc
/usr/lib/gnome-settings-daemon-3.0
/usr/lib/gnome-settings-daemon-3.0/gtk-modules
/usr/lib/gnome-settings-daemon-3.0/gtk-modules/canberra-gtk-module.desktop
/usr/lib/gtk-3.0/modules/libcanberra-gtk-module.so
/usr/lib/gtk-3.0/modules/libcanberra-gtk3-module.so
/usr/lib/libcanberra-gtk3.so.0
/usr/lib/libcanberra-gtk3.so.0.1.9
/usr/share/gdm
/usr/share/gdm/autostart
/usr/share/gdm/autostart/LoginWindow
/usr/share/gdm/autostart/LoginWindow/libcanberra-ready-sound.desktop
/usr/share/gnome/autostart/libcanberra-login-sound.desktop
/usr/share/gnome/shutdown/libcanberra-logout-sound.sh
/usr/bin/canberra-gtk-play
/usr/lib/.build-id
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/015e389e12a5e4649588cac66303272cfb928b
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/a0494856502ab5de1b4dcec3116d1b69074253
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/8a69b151713dc7a66330b10131404eb2391149
/usr/lib64/gnome-settings-daemon-3.0
/usr/lib64/gnome-settings-daemon-3.0/gtk-modules
/usr/lib64/gnome-settings-daemon-3.0/gtk-modules/canberra-gtk-module.desktop
/usr/lib64/gtk-3.0/modules/libcanberra-gtk-module.so
/usr/lib64/gtk-3.0/modules/libcanberra-gtk3-module.so
/usr/lib64/libcanberra-gtk3.so.0
/usr/lib64/libcanberra-gtk3.so.0.1.9
/usr/share/gdm
/usr/share/gdm/autostart
/usr/share/gdm/autostart/LoginWindow
/usr/share/gdm/autostart/LoginWindow/libcanberra-ready-sound.desktop
/usr/share/gnome/autostart/libcanberra-login-sound.desktop
/usr/share/gnome/shutdown/libcanberra-logout-sound.sh

References

Summary

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