macOS
brew install alsa-liblocal Homebrew formula metadata
brew
Provides audio and MIDI functionality to the Linux operating system. Version 1.2.16.1 via Homebrew; verified 2026-06-14.
install
brew install alsa-liblocal Homebrew formula metadata
sudo apk add alsa-libAlpine Linux edge package indexes · alsa-lib · source: dl-cdn.alpinelinux.org
sudo apt install libasound2-dataDebian stable package indexes · libasound2-data · source: deb.debian.org
sudo dnf install alsa-libFedora Rawhide package metadata · alsa-lib · source: dl.fedoraproject.org
nix profile install nixpkgs#alsa-libnixpkgs package indexes · pkgs/by-name/al/alsa-lib/package.nix · source: api.github.com
sudo pacman -S alsa-libArch Linux sync databases · alsa-lib · source: geo.mirror.pkgbuild.com
sudo zypper install libasound2openSUSE Tumbleweed package metadata · libasound2 · source: download.opensuse.org
overview
Provides audio and MIDI functionality to the Linux operating system
history
alsa-lib is the user-space C library for the Advanced Linux Sound Architecture, the Linux audio and MIDI stack normally abbreviated ALSA. It is the layer that lets applications talk to the ALSA kernel API through a stable library API, while adding higher-level helpers, plugin support, and configuration machinery that would be awkward for each application to implement directly.
The ALSA project was founded by Jaroslav Kysela and grew around the goal of replacing and extending the older Open Sound System model on Linux. Official ALSA documentation describes ALSA as providing audio and MIDI functionality for Linux, with modular drivers, SMP/thread-safe design, OSS compatibility, and a user-space library named alsa-lib to simplify application programming.
alsa-lib became one of the core split-out ALSA components alongside the kernel driver code, alsa-utils, alsa-tools, and later configuration packages such as alsa-ucm-conf. The official library reference credits Jaroslav Kysela, Abramo Bagnara, Takashi Iwai, and Frank van de Pol as authors and describes the library API as the preferred interface for application programmers rather than using the kernel API directly.
The ALSA introduction notes that ALSA driver code was included in Linux 2.6, which made the ALSA stack the default assumption for most Linux desktop, embedded, and pro-audio packaging. As a result, alsa-lib became a dependency that package maintainers encounter indirectly through audio applications, desktop environments, media players, sound servers, MIDI tools, and compatibility layers.
The library continues to be released as a separately versioned package. The ALSA project news and git history show coordinated alsa-lib releases with related ALSA components, including the 1.2.16 and 1.2.16.1 releases in June 2026.
Developers use alsa-lib for PCM audio, mixer controls, sequencer, raw MIDI, timers, topology, and use-case manager APIs. End users usually meet it through configuration files rather than by invoking it directly: system defaults are loaded through alsa.conf and per-machine or per-user overrides are commonly placed in asound.conf or .asoundrc files.
The source configuration file loads system and user configuration snippets from locations such as /etc/asound.conf, ~/.asoundrc, and $XDG_CONFIG_HOME/alsa/asoundrc, which explains why distribution packaging and local audio troubleshooting often revolve around these paths.
For package people, alsa-lib is plumbing with a very large reverse-dependency shadow. It is small enough to look like a library package, but central enough that ABI, plugin paths, default configuration, UCM data, and cross-distro path choices can affect whole desktops and audio stacks.
It also matters historically because it marks the Unix audio transition from OSS compatibility toward the ALSA model that PulseAudio, JACK bridges, PipeWire compatibility layers, and many direct audio applications have had to understand.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
/usr/share/alsa/alsa.conf/etc/asound.conf~/.asoundrc~/.config/alsa/asoundrcexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
aserver | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:alsa-lib |
|---|---|
| Version | 1.2.16.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/alsa-lib |
| Homepage | https://www.alsa-project.org/ |
| Repository | https://github.com/alsa-project/alsa-lib |
| Upstream docs | https://www.alsa-project.org/alsa-doc/alsa-lib |
| License | LGPL-2.1-or-later AND GPL-2.0-or-later |
| Source archive | https://www.alsa-project.org/files/pub/lib/alsa-lib-1.2.16.1.tar.bz2 |
| Last updated | 2026-06-14T23:50:54Z |
| Pulse | updated |
| Bottle | available (on arm64_linux, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | alsa-lib |
| Version Scheme | 0 |
| Revision | 0 |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libasound2-data 1.2.14-1
Configuration files and profiles for ALSA drivers
sudo apt install libasound2-datalibasound2-dev 1.2.14-1
shared library for ALSA applications -- development files
sudo apt install libasound2-devlibasound2-doc 1.2.14-1
documentation for user-space ALSA application programming
sudo apt install libasound2-doclibasound2-plugin-smixer 1.2.14-1
smixer plugin for ALSA library
sudo apt install libasound2-plugin-smixerlibasound2t64 1.2.14-1
shared library for ALSA applications
sudo apt install libasound2t64libatopology-dev 1.2.14-1
shared library for handling ALSA topology -- development files
sudo apt install libatopology-devlibatopology2t64 1.2.14-1
shared library for handling ALSA topology definitions
sudo apt install libatopology2t64alsa-lib
nix profile install nixpkgs#alsa-liblibasound2-data 1.2.11-1build2
Configuration files and profiles for ALSA drivers
sudo apt install libasound2-datalibasound2-dev 1.2.11-1build2
shared library for ALSA applications -- development files
sudo apt install libasound2-devlibasound2-doc 1.2.11-1build2
documentation for user-space ALSA application programming
sudo apt install libasound2-doclibasound2-plugin-smixer 1.2.11-1build2
smixer plugin for ALSA library
sudo apt install libasound2-plugin-smixerlibasound2t64 1.2.11-1build2
shared library for ALSA applications
sudo apt install libasound2t64libatopology-dev 1.2.11-1build2
shared library for handling ALSA topology -- development files
sudo apt install libatopology-devlibatopology2t64 1.2.11-1build2
shared library for handling ALSA topology definitions
sudo apt install libatopology2t64alsa-lib 1.2.15.3-r0
Advanced Linux Sound Architecture (ALSA) library
sudo apk add alsa-libsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.