Automic VaultAutomic Vault

brew

Install xkbcomp with Homebrew, apk, dnf, MacPorts, Nix, zypper

XKB keyboard description compiler. Version 1.5.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install xkbcomp

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install xkbcomp

MacPorts ports tree · x11/xkbcomp/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add xkbcomp

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

Fedora dnfverified · 92%
sudo dnf install xkbcomp

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

Nixverified · 92%
nix profile install nixpkgs#xkbcomp

nixpkgs package indexes · pkgs/by-name/xk/xkbcomp/package.nix · source: api.github.com

openSUSE zypperverified · 92%
sudo zypper install xkbcomp

openSUSE Tumbleweed package metadata · xkbcomp · source: download.opensuse.org

overview

Package summary

XKB keyboard description compiler

Commands and aliases

  • xkbcomp

history

Project history and usage

xkbcomp is the X Keyboard Extension keymap compiler. It turns human-readable XKB keyboard descriptions into compiled keymaps for X servers and utilities, and can also reverse a running display or compiled map back into resolved XKB source.

Project history

The manual page identifies xkbcomp as a compiler for XKB keyboard descriptions and carries 1994 copyright lines for Silicon Graphics Computer Systems and the X Consortium, with Erik Fortune of Silicon Graphics listed as author. That places the tool in the original XKB work that extended X11 keyboard handling beyond the older core protocol.

As X11 moved through XFree86 and X.Org, xkbcomp remained the low-level compiler behind keyboard layout composition. The X.Org XKB page now points users toward xkeyboard-config for the maintained data files, while the xkbcomp source is maintained as an X.Org application project on freedesktop.org.

Adoption history

xkbcomp was adopted because XKB itself became the standard keyboard model for X11 systems. Desktop environments and users usually interact with higher-level tools such as setxkbmap or desktop settings, but xkbcomp sits underneath them as the program that verifies, resolves, compiles, dumps, or uploads the actual keymap.

The tool also became a favorite diagnostic and customization utility for keyboard-layout specialists. Documentation and community examples commonly use `xkbcomp :0 -` to inspect the active keymap or `xkbcomp file.xkb $DISPLAY` to load a custom map into a running X server.

How it is used

Common package usage is compiling `.xkb` source into `.xkm` files, generating resolved XKB source from a display or compiled map, updating the keymap for a running X display, and producing C headers for servers or utilities that need built-in default keymaps.

For layout authors, xkbcomp is the last mile after editing keycodes, types, compat, symbols, and geometry files. It checks that those pieces merge into a complete keymap and reports warnings at selectable verbosity levels.

Why package nerds care

xkbcomp is classic Unix desktop substrate: rarely glamorous, but essential when packaging X servers, keyboard data, desktop sessions, remote desktops, or custom layouts. It is also a good example of a compiler whose input language is configuration rather than application code.

For package maintainers, its significance comes from being split from the keyboard-layout data it consumes. xkeyboard-config supplies the evolving layout corpus; xkbcomp supplies the compiler that XKB-capable systems rely on to consume that corpus.

Timeline

  • 1994: The xkbcomp manual page records Silicon Graphics/X Consortium copyright and Erik Fortune as author.
  • 1996: The original XKB protocol and library specifications were published for X11R6-era XKB.
  • 2002: XKB enhancement documentation described xkbcomp as the ordinary compiler used to prepare compiled keyboard configuration for the X server.
  • 2004: XFree86 4.3 and X11R6.7-era documentation described multi-layout XKB configuration handled through the same compiled keymap model.
  • 2010s-2020s: X.Org keeps xkbcomp as a separate application while XKB data files are maintained by xkeyboard-config.

Related projects

  • xkeyboard-config supplies the keyboard models, layouts, variants, and options that xkbcomp compiles. setxkbmap selects XKB layouts at a higher level. libxkbcommon reuses XKB concepts outside the X server world, especially for Wayland compositors.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

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 1 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
xkbcompcliglobal 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.5.0
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://www.x.org

  • infoNo package-manager update timestamp was available.low confidence
  • infoRelease/tag comparison is only available for GitHub repositories.https://www.x.orgnone confidence

install metadata

Package metadata

Package keybrew:xkbcomp
Version1.5.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/xkbcomp
Homepagehttps://www.x.org
Repositoryhttps://gitlab.freedesktop.org/xorg/app/xkbcomp
Upstream docshttps://www.x.org/archive/X11R7.5/doc/man/man1/xkbcomp.1.html
LicenseHPND AND MIT-open-group
Source archivehttps://www.x.org/releases/individual/app/xkbcomp-1.5.0.tar.xz
Dependencieslibx11, libxkbfile
Build dependenciespkgconf
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 Namexkbcomp
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • 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.

Nix95%

xkbcomp

nix profile install nixpkgs#xkbcomp
  • normalized package name match
  • Matched by: Xkbcomp
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/xk/xkbcomp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

xkbcomp 1.5.0-r0

XKBD keymap compiler

https://xorg.freedesktop.org

sudo apk add xkbcomp
  • License: MIT
  • Architecture: x86_64
  • Source Package: xkbcomp
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Xkbcomp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xkbcomp from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

xkbcomp-dev 1.5.0-r0

XKBD keymap compiler (development files)

https://xorg.freedesktop.org

sudo apk add xkbcomp-dev
  • License: MIT
  • Architecture: x86_64
  • Source Package: xkbcomp
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Xkbcomp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xkbcomp-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

xkbcomp-doc 1.5.0-r0

XKBD keymap compiler (documentation)

https://xorg.freedesktop.org

sudo apk add xkbcomp-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: xkbcomp
  • normalized package name match
  • Matched by: Xkbcomp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xkbcomp-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

xkbcomp 1.5.0-2.fc44

XKB keymap compiler

https://www.x.org

sudo dnf install xkbcomp
  • License: MIT-open-group AND HPND-DEC
  • Category: Unspecified
  • Architecture: i686
  • Source Package: xkbcomp
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Xkbcomp
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: xkbcomp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

xkbcomp-devel 1.5.0-2.fc44

XKB keymap compiler development package

https://www.x.org

sudo dnf install xkbcomp-devel
  • License: MIT-open-group AND HPND-DEC
  • Category: Unspecified
  • Architecture: i686
  • Source Package: xkbcomp
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Xkbcomp
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: xkbcomp-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

xkbcomp 1.5.0-1.3

Utility to compile XKB keyboard description

https://xorg.freedesktop.org/

sudo zypper install xkbcomp
  • License: MIT
  • Category: System/X11/Utilities
  • Architecture: x86_64
  • Source Package: xkbcomp
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Xkbcomp
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: xkbcomp from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

xkbcomp-devel 1.5.0-1.3

Utility to compile XKB keyboard description -- Development Files

https://xorg.freedesktop.org/

sudo zypper install xkbcomp-devel
  • License: MIT
  • Category: Development/Libraries/X11
  • Architecture: x86_64
  • Source Package: xkbcomp
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Xkbcomp
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: xkbcomp-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

xkbcomp

sudo port install xkbcomp
  • normalized package name match
  • Matched by: Xkbcomp
MacPorts ports tree · api.github.com · MacPorts ports tree: x11/xkbcomp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

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