Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, zypper 安装 xkbcomp

查看 xkbcomp 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install xkbcomp

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install xkbcomp

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add xkbcomp

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

Fedora dnf已验证 · 92%
sudo dnf install xkbcomp

Fedora Rawhide package metadata · xkbcomp · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#xkbcomp

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

openSUSE zypper已验证 · 92%
sudo zypper install xkbcomp

openSUSE Tumbleweed package metadata · xkbcomp · 来源: download.opensuse.org

概览

软件包摘要

XKB keyboard description compiler

命令和别名

  • xkbcomp

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

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

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
xkbcompcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本1.5.0
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.x.org

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://www.x.orgnone 置信度

安装元数据

软件包元数据

软件包键brew:xkbcomp
版本1.5.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/xkbcomp
主页https://www.x.org
仓库https://gitlab.freedesktop.org/xorg/app/xkbcomp
上游文档https://www.x.org/archive/X11R7.5/doc/man/man1/xkbcomp.1.html
许可证HPND AND MIT-open-group
源码归档https://www.x.org/releases/individual/app/xkbcomp-1.5.0.tar.xz
依赖libx11, libxkbfile
构建依赖pkgconf
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

xkbcomp

nix profile install nixpkgs#xkbcomp
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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