How To Install libcanberra-gtk2 on Rocky Linux 8
Introduction
In this tutorial we learn how to install libcanberra-gtk2
on Rocky Linux 8.
What is libcanberra-gtk2
Gtk+ 2.x bindings for libcanberra
We can use yum
or dnf
to install libcanberra-gtk2
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libcanberra-gtk2.
Install libcanberra-gtk2 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-gtk2
using dnf
by running the following command:
sudo dnf -y install libcanberra-gtk2
Install libcanberra-gtk2 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-gtk2
using yum
by running the following command:
sudo yum -y install libcanberra-gtk2
How To Uninstall libcanberra-gtk2 on Rocky Linux 8
To uninstall only the libcanberra-gtk2
package we can use the following command:
sudo dnf remove libcanberra-gtk2
libcanberra-gtk2 Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/19
/usr/lib/.build-id/19/77f38654428751128b82f0c92e8f9c8e8ab46d
/usr/lib/.build-id/35
/usr/lib/.build-id/35/7bcc01cb17bf2ef1608524b9befbd2c8f8d17a
/usr/lib64/gtk-2.0/modules/libcanberra-gtk-module.so
/usr/lib64/libcanberra-gtk.so.0
/usr/lib64/libcanberra-gtk.so.0.1.9
/usr/lib/.build-id
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/9e2ddb4ff83aa225cc4d09fb14d9a323ee4ea5
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/6d2a24ca244329496c9d59e95725ea554dbb52
/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so
/usr/lib/libcanberra-gtk.so.0
/usr/lib/libcanberra-gtk.so.0.1.9
References
Summary
In this tutorial we learn how to install libcanberra-gtk2
on Rocky Linux 8 using yum and dnf.