Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper 安装 libxkbcommon

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libxkbcommon

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install libxkbcommon

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

Linux

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

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

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

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

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

nixpkgs package indexes · libxkbcommon · 来源: raw.githubusercontent.com

Arch Linux pacman已验证 · 92%
sudo pacman -S libxkbcommon

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

Debian apt已验证 · 92%
sudo apt install libxkbcommon-dev

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

openSUSE zypper已验证 · 92%
sudo zypper install libxkbcommon-devel

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

概览

软件包摘要

Keyboard handling library

命令和别名

  • xkbcli

历史

项目历史与用法

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.

时间线

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

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

https://github.com/xkbcommon/libxkbcommon

安装元数据

软件包元数据

软件包键brew:libxkbcommon
版本1.13.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/libxkbcommon
主页https://xkbcommon.org/
仓库https://github.com/xkbcommon/libxkbcommon
上游文档https://xkbcommon.org/doc/current
许可证MIT
源码归档https://github.com/xkbcommon/libxkbcommon/archive/refs/tags/xkbcommon-1.13.2.tar.gz
最后更新2026-05-30T14:48:51Z
Pulseupdated
依赖libxcb, xkeyboard-config
构建依赖bison, meson, ninja, pkgconf
macOS 提供的库libxml2
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 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