# Installer libxkbcommon avec Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de libxkbcommon pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:libxkbcommon
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install libxkbcommon
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libxkbcommon
```

  Preuve: MacPorts ports tree: devel/libxkbcommon/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add libxkbcommon
```

  Preuve: Alpine Linux edge package indexes: libxkbcommon from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install libxkbcommon
```

  Preuve: Fedora Rawhide package metadata: libxkbcommon from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#libxkbcommon
```

  Preuve: nixpkgs package indexes: libxkbcommon from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S libxkbcommon
```

  Preuve: Arch Linux sync databases: libxkbcommon from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install libxkbcommon-dev
```

  Preuve: Debian stable package indexes: libxkbcommon-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install libxkbcommon-devel
```

  Preuve: openSUSE Tumbleweed package metadata: libxkbcommon-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Faits du paquet

- **Clé du paquet:** brew:libxkbcommon
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.13.2
- **Résumé source:** Keyboard handling library
- **Page d'accueil:** <https://xkbcommon.org/>
- **Dépôt:** <https://github.com/xkbcommon/libxkbcommon>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- xkbcli (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.13.2
## Historique du projet et usages

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

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

- <https://github.com/xkbcommon/libxkbcommon>
- <https://lists.freedesktop.org/archives/wayland-devel/2020-September/041596.html>
- <https://xkbcommon.org/doc/current/>
- <https://xkbcommon.org/doc/current/release-notes.html>


## Notes de sécurité

library-like package without higher-risk signals.

- **Risque Geiger:** vert / faible
- library-like package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- Debian apt - libxkbcommon-dev - 1.7.0-2: normalized package name match | Debian stable package indexes: libxkbcommon-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library interface to the XKB compiler - development files | https://www.xkbcommon.org/
- Debian apt - libxkbcommon-doc - 1.7.0-2: normalized package name match | Debian stable package indexes: libxkbcommon-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library interface to the XKB compiler - documentation | https://www.xkbcommon.org/
- Debian apt - libxkbcommon-tools - 1.7.0-2: normalized package name match | Debian stable package indexes: libxkbcommon-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library interface to the XKB compiler - tools | https://www.xkbcommon.org/
- Debian apt - libxkbcommon-x11-0 - 1.7.0-2: normalized package name match | Debian stable package indexes: libxkbcommon-x11-0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library to create keymaps with the XKB X11 protocol | https://www.xkbcommon.org/
- Debian apt - libxkbcommon-x11-dev - 1.7.0-2: normalized package name match | Debian stable package indexes: libxkbcommon-x11-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library to create keymaps with the XKB X11 protocol - development files | https://www.xkbcommon.org/
- Debian apt - libxkbcommon0 - 1.7.0-2: normalized package name match | Debian stable package indexes: libxkbcommon0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library interface to the XKB compiler - shared library | https://www.xkbcommon.org/
- Debian apt - libxkbregistry-dev - 1.7.0-2: normalized package name match | Debian stable package indexes: libxkbregistry-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library to query available RMLVO - development files | https://www.xkbcommon.org/
- Debian apt - libxkbregistry0 - 1.7.0-2: normalized package name match | Debian stable package indexes: libxkbregistry0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library to query available RMLVO | https://www.xkbcommon.org/
- Nix - libxkbcommon: normalized package name match | nixpkgs package indexes: libxkbcommon from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - libxkbcommon-dev - 1.6.0-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libxkbcommon-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | library interface to the XKB compiler - development files | https://www.xkbcommon.org/
- Ubuntu apt - libxkbcommon-doc - 1.6.0-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libxkbcommon-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | library interface to the XKB compiler - documentation | https://www.xkbcommon.org/
- Ubuntu apt - libxkbcommon-tools - 1.6.0-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libxkbcommon-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library interface to the XKB compiler - tools | https://www.xkbcommon.org/
- Ubuntu apt - libxkbcommon-x11-0 - 1.6.0-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libxkbcommon-x11-0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | library to create keymaps with the XKB X11 protocol | https://www.xkbcommon.org/
- Ubuntu apt - libxkbcommon-x11-dev - 1.6.0-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libxkbcommon-x11-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | library to create keymaps with the XKB X11 protocol - development files | https://www.xkbcommon.org/
- Ubuntu apt - libxkbcommon0 - 1.6.0-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libxkbcommon0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | library interface to the XKB compiler - shared library | https://www.xkbcommon.org/
- Ubuntu apt - libxkbregistry-dev - 1.6.0-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libxkbregistry-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | library to query available RMLVO - development files | https://www.xkbcommon.org/


## Combined YAML source

View the package source record on GitHub. [combined/libxkbcommon.yml](https://github.com/mxcl/pkgdb/blob/main/combined/libxkbcommon.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
