macOS
brew install libxkbcommonlocal Homebrew formula metadata
sudo port install libxkbcommonMacPorts ports tree · devel/libxkbcommon/Portfile · source: api.github.com
brew
Keyboard handling library. Version 1.13.2 via Homebrew; verified 2026-05-30.
install
brew install libxkbcommonlocal Homebrew formula metadata
sudo port install libxkbcommonMacPorts ports tree · devel/libxkbcommon/Portfile · source: api.github.com
sudo apk add libxkbcommonAlpine Linux edge package indexes · libxkbcommon · source: dl-cdn.alpinelinux.org
sudo apt install libxkbcommon-devDebian stable package indexes · libxkbcommon-dev · source: deb.debian.org
sudo dnf install libxkbcommonFedora Rawhide package metadata · libxkbcommon · source: dl.fedoraproject.org
nix profile install nixpkgs#libxkbcommonnixpkgs package indexes · libxkbcommon · source: raw.githubusercontent.com
sudo pacman -S libxkbcommonArch Linux sync databases · libxkbcommon · source: geo.mirror.pkgbuild.com
sudo zypper install libxkbcommon-developenSUSE Tumbleweed package metadata · libxkbcommon-devel · source: download.opensuse.org
overview
Keyboard handling library
history
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.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
xkbcli | 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.
https://github.com/xkbcommon/libxkbcommon
install metadata
| Package key | brew:libxkbcommon |
|---|---|
| Version | 1.13.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libxkbcommon |
| Homepage | https://xkbcommon.org/ |
| Repository | https://github.com/xkbcommon/libxkbcommon |
| Upstream docs | https://xkbcommon.org/doc/current |
| License | MIT |
| Source archive | https://github.com/xkbcommon/libxkbcommon/archive/refs/tags/xkbcommon-1.13.2.tar.gz |
| Last updated | 2026-05-30T14:48:51Z |
| Pulse | updated |
| Dependencies | libxcb, xkeyboard-config |
| Build dependencies | bison, meson, ninja, pkgconf |
| Uses from macOS | libxml2 |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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-devsource 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.