How To Install libcanberra-devel on Rocky Linux 8

In this tutorial we learn how to install libcanberra-devel on Rocky Linux 8. libcanberra-devel is Development Files for libcanberra Client Development

Introduction

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

What is libcanberra-devel

Development Files for libcanberra Client Development

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

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

sudo dnf -y install libcanberra-devel

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

sudo yum -y install libcanberra-devel

How To Uninstall libcanberra-devel on Rocky Linux 8

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

sudo dnf remove libcanberra-devel

libcanberra-devel Package Contents on Rocky Linux 8

/usr/include/canberra-gtk.h
/usr/include/canberra.h
/usr/lib/libcanberra-gtk.so
/usr/lib/libcanberra-gtk3.so
/usr/lib/libcanberra.so
/usr/lib/pkgconfig/libcanberra-gtk.pc
/usr/lib/pkgconfig/libcanberra-gtk3.pc
/usr/lib/pkgconfig/libcanberra.pc
/usr/share/gtk-doc
/usr/share/gtk-doc/html
/usr/share/gtk-doc/html/libcanberra
/usr/share/gtk-doc/html/libcanberra/ch01.html
/usr/share/gtk-doc/html/libcanberra/home.png
/usr/share/gtk-doc/html/libcanberra/index.html
/usr/share/gtk-doc/html/libcanberra/index.sgml
/usr/share/gtk-doc/html/libcanberra/left.png
/usr/share/gtk-doc/html/libcanberra/libcanberra-canberra-gtk.html
/usr/share/gtk-doc/html/libcanberra/libcanberra-canberra.html
/usr/share/gtk-doc/html/libcanberra/libcanberra.devhelp2
/usr/share/gtk-doc/html/libcanberra/right.png
/usr/share/gtk-doc/html/libcanberra/style.css
/usr/share/gtk-doc/html/libcanberra/up.png
/usr/share/vala
/usr/share/vala/vapi
/usr/share/vala/vapi/libcanberra-gtk.vapi
/usr/share/vala/vapi/libcanberra.vapi
/usr/include/canberra-gtk.h
/usr/include/canberra.h
/usr/lib64/libcanberra-gtk.so
/usr/lib64/libcanberra-gtk3.so
/usr/lib64/libcanberra.so
/usr/lib64/pkgconfig/libcanberra-gtk.pc
/usr/lib64/pkgconfig/libcanberra-gtk3.pc
/usr/lib64/pkgconfig/libcanberra.pc
/usr/share/gtk-doc
/usr/share/gtk-doc/html
/usr/share/gtk-doc/html/libcanberra
/usr/share/gtk-doc/html/libcanberra/ch01.html
/usr/share/gtk-doc/html/libcanberra/home.png
/usr/share/gtk-doc/html/libcanberra/index.html
/usr/share/gtk-doc/html/libcanberra/index.sgml
/usr/share/gtk-doc/html/libcanberra/left.png
/usr/share/gtk-doc/html/libcanberra/libcanberra-canberra-gtk.html
/usr/share/gtk-doc/html/libcanberra/libcanberra-canberra.html
/usr/share/gtk-doc/html/libcanberra/libcanberra.devhelp2
/usr/share/gtk-doc/html/libcanberra/right.png
/usr/share/gtk-doc/html/libcanberra/style.css
/usr/share/gtk-doc/html/libcanberra/up.png
/usr/share/vala
/usr/share/vala/vapi
/usr/share/vala/vapi/libcanberra-gtk.vapi
/usr/share/vala/vapi/libcanberra.vapi

References

Summary

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