How To Install libcanberra-gtk2.i686 on Amazon Linux 2

In this tutorial we learn how to install libcanberra-gtk2.i686 in Amazon Linux 2. libcanberra-gtk2.i686 is Gtk+ 2.x Bindings for libcanberra

Introduction

In this tutorial we learn how to install libcanberra-gtk2.i686 on Amazon Linux 2.

What is libcanberra-gtk2.i686

Gtk+ 2.x bindings for libcanberra

We can use yum to install libcanberra-gtk2.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libcanberra-gtk2.i686.

Install libcanberra-gtk2.i686 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libcanberra-gtk2.i686 using yum by running the following command:

sudo yum -y install libcanberra-gtk2.i686

How To Uninstall libcanberra-gtk2.i686 on Amazon Linux 2

To uninstall only the libcanberra-gtk2.i686 package we can use the following command:

sudo yum remove libcanberra-gtk2.i686

libcanberra-gtk2.i686 Package Contents on Amazon Linux 2

/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.i686 on Amazon Linux 2 using yum.