Automic VaultAutomic Vault

brew

Install libxkbcommon with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Keyboard handling library. Version 1.13.2 via Homebrew; verified 2026-05-30.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install libxkbcommon

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install libxkbcommon

MacPorts ports tree · devel/libxkbcommon/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add libxkbcommon

Alpine Linux edge package indexes · libxkbcommon · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install libxkbcommon-dev

Debian stable package indexes · libxkbcommon-dev · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install libxkbcommon

Fedora Rawhide package metadata · libxkbcommon · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#libxkbcommon

nixpkgs package indexes · libxkbcommon · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S libxkbcommon

Arch Linux sync databases · libxkbcommon · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install libxkbcommon-devel

openSUSE Tumbleweed package metadata · libxkbcommon-devel · source: download.opensuse.org

overview

Package summary

Keyboard handling library

Commands and aliases

  • xkbcli

history

Project history and usage

libxkbcommon is the standard Wayland-era keymap handling library for XKB keyboard descriptions, keyboard state, Compose/dead keys, and keyboard-layout tooling.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2009-01-13: First xkbcommon commit, according to the 1.0.0 announcement.
  • 2012-10-24: First release with the present API, according to the 1.0.0 announcement.
  • 2013-04-01: libxkbcommon 0.3.0 appears in the project's release notes.
  • 2020-09-05: libxkbcommon 1.0.0 released.
  • 2025-08-08: libxkbcommon 1.11.0 introduced XKB_KEYMAP_FORMAT_TEXT_V2 for long-standing XKB ecosystem issues.

Related projects

  • Related projects include Wayland compositors, Xorg/X11 clients, xkeyboard-config, libX11 Compose data, libxcb, xorgproto, and desktop toolkits that process keyboard input.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 2 runtime dependencies.
  • Build metadata lists 4 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
xkbclicliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version1.13.2
manager updated2026-05-30
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/xkbcommon/libxkbcommon

install metadata

Package metadata

Package keybrew:libxkbcommon
Version1.13.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/libxkbcommon
Homepagehttps://xkbcommon.org/
Repositoryhttps://github.com/xkbcommon/libxkbcommon
Upstream docshttps://xkbcommon.org/doc/current
LicenseMIT
Source archivehttps://github.com/xkbcommon/libxkbcommon/archive/refs/tags/xkbcommon-1.13.2.tar.gz
Last updated2026-05-30T14:48:51Z
Pulseupdated
Dependencieslibxcb, xkeyboard-config
Build dependenciesbison, meson, ninja, pkgconf
Uses from macOSlibxml2
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibxkbcommon
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libxkbcommon-dev 1.7.0-2

library interface to the XKB compiler - development files

https://www.xkbcommon.org/

sudo apt install libxkbcommon-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libxkbcommon
  • 1 dependencies
  • normalized package name match
  • Matched by: Libxkbcommon
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libxkbcommon-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libxkbcommon-doc 1.7.0-2

library interface to the XKB compiler - documentation

https://www.xkbcommon.org/

sudo apt install libxkbcommon-doc
  • Section: doc
  • Architecture: all
  • Source Package: libxkbcommon
  • normalized package name match
  • Matched by: Libxkbcommon
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libxkbcommon-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libxkbcommon-tools 1.7.0-2

library interface to the XKB compiler - tools

https://www.xkbcommon.org/

sudo apt install libxkbcommon-tools
  • Section: graphics
  • Architecture: amd64
  • Source Package: libxkbcommon
  • 7 dependencies
  • normalized package name match
  • Matched by: Libxkbcommon
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libxkbcommon-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libxkbcommon-x11-0 1.7.0-2

library to create keymaps with the XKB X11 protocol

https://www.xkbcommon.org/

sudo apt install libxkbcommon-x11-0
  • Section: libs
  • Architecture: amd64
  • Source Package: libxkbcommon
  • 4 dependencies
  • normalized package name match
  • Matched by: Libxkbcommon
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libxkbcommon-x11-0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libxkbcommon-x11-dev 1.7.0-2

library to create keymaps with the XKB X11 protocol - development files

https://www.xkbcommon.org/

sudo apt install libxkbcommon-x11-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libxkbcommon
  • 4 dependencies
  • normalized package name match
  • Matched by: Libxkbcommon
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libxkbcommon-x11-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libxkbcommon0 1.7.0-2

library interface to the XKB compiler - shared library

https://www.xkbcommon.org/

sudo apt install libxkbcommon0
  • Section: libs
  • Architecture: amd64
  • Source Package: libxkbcommon
  • 2 dependencies
  • normalized package name match
  • Matched by: Libxkbcommon
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libxkbcommon0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libxkbregistry-dev 1.7.0-2

library to query available RMLVO - development files

https://www.xkbcommon.org/

sudo apt install libxkbregistry-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libxkbcommon
  • 3 dependencies
  • normalized package name match
  • Matched by: Libxkbcommon
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libxkbregistry-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libxkbregistry0 1.7.0-2

library to query available RMLVO

https://www.xkbcommon.org/

sudo apt install libxkbregistry0
  • Section: libs
  • Architecture: amd64
  • Source Package: libxkbcommon
  • 3 dependencies
  • normalized package name match
  • Matched by: Libxkbcommon
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libxkbregistry0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libxkbcommon

nix profile install nixpkgs#libxkbcommon
  • normalized package name match
  • Matched by: Libxkbcommon
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: libxkbcommon from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

libxkbcommon-dev 1.6.0-1build1

library interface to the XKB compiler - development files

https://www.xkbcommon.org/

sudo apt install libxkbcommon-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libxkbcommon
  • 1 dependencies
  • normalized package name match
  • Matched by: Libxkbcommon
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libxkbcommon-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libxkbcommon-doc 1.6.0-1build1

library interface to the XKB compiler - documentation

https://www.xkbcommon.org/

sudo apt install libxkbcommon-doc
  • Section: doc
  • Architecture: all
  • Source Package: libxkbcommon
  • normalized package name match
  • Matched by: Libxkbcommon
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libxkbcommon-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libxkbcommon-tools 1.6.0-1build1

library interface to the XKB compiler - tools

https://www.xkbcommon.org/

sudo apt install libxkbcommon-tools
  • Section: universe/graphics
  • Architecture: amd64
  • Source Package: libxkbcommon
  • 7 dependencies
  • normalized package name match
  • Matched by: Libxkbcommon
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libxkbcommon-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libxkbcommon-x11-0 1.6.0-1build1

library to create keymaps with the XKB X11 protocol

https://www.xkbcommon.org/

sudo apt install libxkbcommon-x11-0
  • Section: libs
  • Architecture: amd64
  • Source Package: libxkbcommon
  • 4 dependencies
  • normalized package name match
  • Matched by: Libxkbcommon
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libxkbcommon-x11-0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libxkbcommon-x11-dev 1.6.0-1build1

library to create keymaps with the XKB X11 protocol - development files

https://www.xkbcommon.org/

sudo apt install libxkbcommon-x11-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libxkbcommon
  • 4 dependencies
  • normalized package name match
  • Matched by: Libxkbcommon
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libxkbcommon-x11-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libxkbcommon0 1.6.0-1build1

library interface to the XKB compiler - shared library

https://www.xkbcommon.org/

sudo apt install libxkbcommon0
  • Section: libs
  • Architecture: amd64
  • Source Package: libxkbcommon
  • 2 dependencies
  • normalized package name match
  • Matched by: Libxkbcommon
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libxkbcommon0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libxkbregistry-dev 1.6.0-1build1

library to query available RMLVO - development files

https://www.xkbcommon.org/

sudo apt install libxkbregistry-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libxkbcommon
  • 3 dependencies
  • normalized package name match
  • Matched by: Libxkbcommon
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libxkbregistry-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment