How To Install libcanberra.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libcanberra.x86_64 in Amazon Linux 2. libcanberra.x86_64 is Portable Sound Event Library

Introduction

In this tutorial we learn how to install libcanberra.x86_64 on Amazon Linux 2.

What is libcanberra.x86_64

A small and lightweight implementation of the XDG Sound Theme Specification (http

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

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

sudo yum -y install libcanberra.x86_64

How To Uninstall libcanberra.x86_64 on Amazon Linux 2

To uninstall only the libcanberra.x86_64 package we can use the following command:

sudo yum remove libcanberra.x86_64

libcanberra.x86_64 Package Contents on Amazon Linux 2

/usr/bin/canberra-boot
/usr/lib/systemd/system/canberra-system-bootup.service
/usr/lib/systemd/system/canberra-system-shutdown-reboot.service
/usr/lib/systemd/system/canberra-system-shutdown.service
/usr/lib64/libcanberra-0.30
/usr/lib64/libcanberra-0.30/libcanberra-alsa.so
/usr/lib64/libcanberra-0.30/libcanberra-gstreamer.so
/usr/lib64/libcanberra-0.30/libcanberra-multi.so
/usr/lib64/libcanberra-0.30/libcanberra-null.so
/usr/lib64/libcanberra-0.30/libcanberra-pulse.so
/usr/lib64/libcanberra.so.0
/usr/lib64/libcanberra.so.0.2.5
/usr/share/doc/libcanberra-0.30
/usr/share/doc/libcanberra-0.30/LGPL
/usr/share/doc/libcanberra-0.30/README

References

Summary

In this tutorial we learn how to install libcanberra.x86_64 on Amazon Linux 2 using yum.