macOS
brew install alsa-liblocal Homebrew formula metadata
安装
brew install alsa-liblocal Homebrew formula metadata
sudo apk add alsa-libAlpine Linux edge package indexes · alsa-lib · 来源: dl-cdn.alpinelinux.org
sudo dnf install alsa-libFedora Rawhide package metadata · alsa-lib · 来源: dl.fedoraproject.org
nix profile install nixpkgs#alsa-libnixpkgs package indexes · pkgs/by-name/al/alsa-lib/package.nix · 来源: api.github.com
sudo pacman -S alsa-libArch Linux sync databases · alsa-lib · 来源: geo.mirror.pkgbuild.com
sudo apt install libasound2-dataDebian stable package indexes · libasound2-data · 来源: deb.debian.org
sudo zypper install libasound2openSUSE Tumbleweed package metadata · libasound2 · 来源: download.opensuse.org
概览
Provides audio and MIDI functionality to the Linux operating system
历史
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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/asoundrc可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
aserver | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:alsa-lib |
|---|---|
| 版本 | 1.2.16.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/alsa-lib |
| 主页 | https://www.alsa-project.org/ |
| 仓库 | https://github.com/alsa-project/alsa-lib |
| 上游文档 | https://www.alsa-project.org/alsa-doc/alsa-lib |
| 许可证 | LGPL-2.1-or-later AND GPL-2.0-or-later |
| 源码归档 | https://www.alsa-project.org/files/pub/lib/alsa-lib-1.2.16.1.tar.bz2 |
| 最后更新 | 2026-06-14T23:50:54Z |
| Pulse | updated |
| Bottle | 可用 (于 arm64_linux, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-lib来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.