Automic VaultAutomic Vault

brew

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

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install xrdb

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install xrdb

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

Linux

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

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

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

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

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

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

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

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

概览

软件包摘要

X resource database utility

命令和别名

  • xrdb

历史

项目历史与用法

xrdb is the small X.Org utility that loads, queries, merges, and edits the X server resource database. Its importance is historical as much as practical: it is the command that made per-user X resources such as colors, fonts, and application defaults available through X server properties rather than only through local dotfiles.

项目历史

The xrdb manual carries Digital Equipment Corporation and Open Group copyright dates from the 1990s and identifies Bob Scheifler and Phil Karlton as authors, rewritten from Jim Gettys's original. That lineage places xrdb in the classic MIT X / X11 tooling family, before the program was maintained as part of the modular X.Org application set.

The tool's design follows the X resource system: resources can be stored in RESOURCE_MANAGER on screen 0 and SCREEN_RESOURCES on individual screens. The X(7) manual describes xrdb as the program used by startup systems such as xdm and xinit to put global and per-screen resources into those properties.

采用历史

xrdb became a normal part of X session startup because many X Toolkit and Xlib-era applications read resources from the server. It is a quiet dependency of the .Xresources/.Xdefaults culture: users could keep one resource file, merge it at login, and have X clients pick up consistent defaults across hosts and screens.

Its adoption persisted through packaging because the resource database remains relevant for traditional X clients, terminal emulators, lightweight window-manager sessions, remote X workflows, and compatibility setups even as many desktop applications moved to toolkit-specific configuration systems.

使用方式

Typical usage is `xrdb -merge ~/.Xresources` from an X startup file, followed by `xrdb -query` to inspect the server-side database. Users also use `-load`, `-override`, `-remove`, and `-edit` when replacing or round-tripping resource settings.

For package users, xrdb is most visible when installing or configuring xterm, bitmap-era X applications, old app-defaults packages, or minimalist desktop sessions where the user wants font, color, cursor, and widget defaults controlled by X resources.

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

xrdb is a classic example of a tiny package with outsized historical surface area: it is not a daemon or library, but it is the bridge between a user's resource files and the X server state that clients consult.

It matters in package catalogs because it explains why X11 setups still ship separate utilities for session glue. Without xrdb, many old-but-still-packaged X applications lose the shared configuration path their manuals assume.

时间线

  • 1991: xrdb manual copyright includes Digital Equipment Corporation, reflecting early X11 resource-database tooling.
  • 1994-1998: Open Group copyright updates appear in the manual source.
  • 2001: X.Org/XFree86 manual-source revision history records xrdb in the X11 utility tree.
  • 2000s: xrdb continues as a modular X.Org application package used by display-manager and xinit-style startup flows.
  • 2025: The upstream manpage remains maintained in the X.Org xrdb repository.

Related projects

  • Xlib Resource Manager and X Toolkit Intrinsics are the resource systems xrdb feeds.
  • xinit, xdm, and display managers commonly invoke xrdb during X session startup.
  • xterm and other X Toolkit clients are typical consumers of RESOURCE_MANAGER settings.
  • appres and listres are companion tools for inspecting application resources.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:database

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

https://gitlab.freedesktop.org/xorg/app/xrdb

安装元数据

软件包元数据

软件包键brew:xrdb
版本1.2.3
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/xrdb
主页https://gitlab.freedesktop.org/xorg/app/xrdb
仓库https://gitlab.freedesktop.org/xorg/app/xrdb
上游文档https://gitlab.freedesktop.org/xorg/app/xrdb/-/blob/master/man/xrdb.man
许可证MIT-open-group AND HPND-DEC
源码归档https://www.x.org/releases/individual/app/xrdb-1.2.3.tar.xz
最后更新2026-07-10T03:18:27Z
Pulseupdated
依赖libx11, libxmu
构建依赖pkgconf
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Nix95%

xrdb

nix profile install nixpkgs#xrdb
  • normalized package name match
  • 匹配方式:Xrdb
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/xr/xrdb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

xrdb 1.2.2-r0

X server resource database utility

https://xorg.freedesktop.org/

sudo apk add xrdb
  • License: MIT
  • Architecture: x86_64
  • Source Package: xrdb
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Xrdb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xrdb from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

xrdb-doc 1.2.2-r0

X server resource database utility (documentation)

https://xorg.freedesktop.org/

sudo apk add xrdb-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: xrdb
  • normalized package name match
  • 匹配方式:Xrdb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xrdb-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

xrdb 1.2.2-7.fc44

X server resource database utility

https://www.x.org

sudo dnf install xrdb
  • License: HPND-DEC AND MIT-open-group
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: xrdb
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Xrdb
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: xrdb from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

xrdb 1.2.2-1.8

X server resource database utility

https://xorg.freedesktop.org/

sudo zypper install xrdb
  • License: MIT
  • Category: System/X11/Utilities
  • Architecture: x86_64
  • Source Package: xrdb
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Xrdb
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: xrdb from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

xrdb

sudo port install xrdb
  • normalized package name match
  • 匹配方式:Xrdb
MacPorts ports tree · api.github.com · MacPorts ports tree: x11/xrdb/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