Automic VaultAutomic Vault

brew

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

X resource database utility. Version 1.2.2 via Homebrew; verified 2026-05-25.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install xrdb

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install xrdb

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

Linux

Alpine Linux apkverified · 92%
sudo apk add xrdb

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

Fedora dnfverified · 92%
sudo dnf install xrdb

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

Nixverified · 92%
nix profile install nixpkgs#xrdb

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

openSUSE zypperverified · 92%
sudo zypper install xrdb

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

overview

Package summary

X resource database utility

Commands and aliases

  • xrdb

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:database

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 12 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
xrdbcliglobal 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.2.2
manager updated2026-05-25
local dataok
upstreamnot checked
latest detectednot detected

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

install metadata

Package metadata

Package keybrew:xrdb
Version1.2.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/xrdb
Homepagehttps://gitlab.freedesktop.org/xorg/app/xrdb
Repositoryhttps://gitlab.freedesktop.org/xorg/app/xrdb
Upstream docshttps://gitlab.freedesktop.org/xorg/app/xrdb/-/blob/master/man/xrdb.man
LicenseMIT-open-group AND HPND-DEC
Source archivehttps://www.x.org/releases/individual/app/xrdb-1.2.2.tar.xz
Last updated2026-05-25T14:49:53-04:00
Pulseupdated
Dependencieslibx11, libxmu
Build dependenciespkgconf
Bottleavailable (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

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%

xrdb

nix profile install nixpkgs#xrdb
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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
  • Matched by: 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

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