macOS
brew install libxkbcommonlocal Homebrew formula metadata
sudo port install libxkbcommonMacPorts ports tree · devel/libxkbcommon/Portfile · 来源: api.github.com
安装
brew install libxkbcommonlocal Homebrew formula metadata
sudo port install libxkbcommonMacPorts ports tree · devel/libxkbcommon/Portfile · 来源: api.github.com
sudo apk add libxkbcommonAlpine Linux edge package indexes · libxkbcommon · 来源: dl-cdn.alpinelinux.org
sudo dnf install libxkbcommonFedora Rawhide package metadata · libxkbcommon · 来源: dl.fedoraproject.org
nix profile install nixpkgs#libxkbcommonnixpkgs package indexes · libxkbcommon · 来源: raw.githubusercontent.com
sudo pacman -S libxkbcommonArch Linux sync databases · libxkbcommon · 来源: geo.mirror.pkgbuild.com
sudo apt install libxkbcommon-devDebian stable package indexes · libxkbcommon-dev · 来源: deb.debian.org
sudo zypper install libxkbcommon-developenSUSE Tumbleweed package metadata · libxkbcommon-devel · 来源: download.opensuse.org
概览
Keyboard handling library
历史
libxkbcommon is the standard Wayland-era keymap handling library for XKB keyboard descriptions, keyboard state, Compose/dead keys, and keyboard-layout tooling.
libxkbcommon reworked the classic X Keyboard Extension concepts into a library API for clients, toolkits, compositors, and other system components. The project documentation says it processes XKB keymaps while omitting some legacy features, and the repository credits Dan Nicholson for early work getting xkbcommon started.
The 2020-09 libxkbcommon 1.0.0 announcement states that the first commit was on 2009-01-13 and that the first release with the present API was on 2012-10-24. Release notes then show the project moving through the 1.x line with continued API, tools, build-system, and keymap-format work.
libxkbcommon became central to Wayland because compositors, toolkits, and applications need to translate key events into characters and actions without relying on the X server as the keyboard interpreter. The documentation explicitly describes it as the standard keymap handling library on Wayland.
It also remained useful to X11 clients through the xkbcommon-x11 module, making it a bridge between old XKB data and newer compositor-centered desktop stacks.
Developers use libxkbcommon to compile keymaps, track keyboard state, handle Compose sequences, and inspect layouts. Users see it indirectly through desktop environments and toolkits, while packagers also ship xkbcli tools such as compile-keymap, how-to-type, interactive-wayland, interactive-x11, and list.
libxkbcommon is a load-bearing desktop plumbing package: boring until it is missing, then every keyboard layout, dead key, and Wayland compositor path becomes suspect. It is also a rare case where a compatibility library helped define the practical boundary between X11 inheritance and Wayland-native behavior.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
xkbcli | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/xkbcommon/libxkbcommon
安装元数据
| 软件包键 | brew:libxkbcommon |
|---|---|
| 版本 | 1.13.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/libxkbcommon |
| 主页 | https://xkbcommon.org/ |
| 仓库 | https://github.com/xkbcommon/libxkbcommon |
| 上游文档 | https://xkbcommon.org/doc/current |
| 许可证 | MIT |
| 源码归档 | https://github.com/xkbcommon/libxkbcommon/archive/refs/tags/xkbcommon-1.13.2.tar.gz |
| 最后更新 | 2026-05-30T14:48:51Z |
| Pulse | updated |
| 依赖 | libxcb, xkeyboard-config |
| 构建依赖 | bison, meson, ninja, pkgconf |
| macOS 提供的库 | libxml2 |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libxkbcommon |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libxkbcommon-dev 1.7.0-2
library interface to the XKB compiler - development files
sudo apt install libxkbcommon-devlibxkbcommon-doc 1.7.0-2
library interface to the XKB compiler - documentation
sudo apt install libxkbcommon-doclibxkbcommon-tools 1.7.0-2
library interface to the XKB compiler - tools
sudo apt install libxkbcommon-toolslibxkbcommon-x11-0 1.7.0-2
library to create keymaps with the XKB X11 protocol
sudo apt install libxkbcommon-x11-0libxkbcommon-x11-dev 1.7.0-2
library to create keymaps with the XKB X11 protocol - development files
sudo apt install libxkbcommon-x11-devlibxkbcommon0 1.7.0-2
library interface to the XKB compiler - shared library
sudo apt install libxkbcommon0libxkbregistry-dev 1.7.0-2
library to query available RMLVO - development files
sudo apt install libxkbregistry-devlibxkbregistry0 1.7.0-2
library to query available RMLVO
sudo apt install libxkbregistry0libxkbcommon
nix profile install nixpkgs#libxkbcommonlibxkbcommon-dev 1.6.0-1build1
library interface to the XKB compiler - development files
sudo apt install libxkbcommon-devlibxkbcommon-doc 1.6.0-1build1
library interface to the XKB compiler - documentation
sudo apt install libxkbcommon-doclibxkbcommon-tools 1.6.0-1build1
library interface to the XKB compiler - tools
sudo apt install libxkbcommon-toolslibxkbcommon-x11-0 1.6.0-1build1
library to create keymaps with the XKB X11 protocol
sudo apt install libxkbcommon-x11-0libxkbcommon-x11-dev 1.6.0-1build1
library to create keymaps with the XKB X11 protocol - development files
sudo apt install libxkbcommon-x11-devlibxkbcommon0 1.6.0-1build1
library interface to the XKB compiler - shared library
sudo apt install libxkbcommon0libxkbregistry-dev 1.6.0-1build1
library to query available RMLVO - development files
sudo apt install libxkbregistry-dev来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.