Introduction to libcanberra

libcanberra is an implementation of the XDG Sound Theme and Name Specifications, for generating event sounds on free desktops, such as GNOME.

This package is known to build and work properly using an LFS 12.1 platform.

Package Information

Additional Downloads

libcanberra Dependencies





GTK+-2.24.33, PulseAudio-17.0, and tdb

Recommended Sound Theme (Run Time)

Installation of libcanberra

At first, apply a patch to fix an issue causing some applications to crash in Wayland based desktop environment:

patch -Np1 -i ../libcanberra-0.30-wayland-1.patch

Install libcanberra by running the following commands:

./configure --prefix=/usr --disable-oss &&

This package does not come with a test suite.

Now, as the root user:

make docdir=/usr/share/doc/libcanberra-0.30 install

Command Explanations

--disable-oss: disable optional deprecated OSS support

--disable-gtk: disable optional GTK+ 2 support

--disable-gtk3: disable optional GTK+ 3 support


Installed Programs: canberra-boot and canberra-gtk-play
Installed Libraries:, and
Installed Directories: /usr/lib/libcanberra-0.30, /usr/share/doc/libcanberra-0.30 and /usr/share/gtk-doc/html/libcanberra

Short Descriptions


is an application used for playing sound events

contains the libcanberra bindings for GTK+ 2

contains the libcanberra bindings for GTK+ 3

contains the libcanberra API functions