Introduction to ALSA Library

The ALSA Library package contains the ALSA library used by programs (including ALSA Utilities) requiring access to the ALSA sound interface.

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

Package Information

ALSA Library Dependencies


Doxygen-1.8.5 and Python-2.7.5

User Notes:

Kernel Configuration

In the Device Drivers ⇒ Sound card support ⇒ Advanced Linux Sound Architecture section of the kernel configuration, select the settings and drivers appropriate for your hardware. Ensure that the deprecated Device Drivers ⇒ Sound card support ⇒ Open Sound System is not selected. If necessary, recompile and install your new kernel.

Installation of ALSA Library

Install ALSA Library by running the following commands:

./configure &&

To test the results, issue: make check.

Now, as the root user:

make install

If you have Doxygen installed and you wish to build the library API documentation, run the following commands from the top-level directory of the source tree:

make doc

To install the API documentation, run the following command as the root user:

install -v -d -m755 /usr/share/doc/alsa-lib- &&
install -v -m644 doc/doxygen/html/* /usr/share/doc/alsa-

Configuring ALSA Library

Config Files

~/.asoundrc and /etc/asound.conf

Configuration Information

The default alsa.conf is adequate for most installations. For extra functionality and/or advanced control of your sound device, you may need to create additional configuration files. For information on the available configuration parameters, visit


Installed Program: aserver
Installed Library:
Installed Directories: /usr/include/alsa, /usr/lib/alsa-lib, /usr/share/alsa and /usr/share/doc/alsa-lib-

Short Descriptions


is the ALSA server.

contains the ALSA API functions.

Last updated on 2013-08-17 21:37:04 -0700