macOS
brew install xrdblocal Homebrew formula metadata
sudo port install xrdbMacPorts ports tree · x11/xrdb/Portfile · source: api.github.com
brew
X resource database utility. Version 1.2.2 via Homebrew; verified 2026-05-25.
install
brew install xrdblocal Homebrew formula metadata
sudo port install xrdbMacPorts ports tree · x11/xrdb/Portfile · source: api.github.com
sudo apk add xrdbAlpine Linux edge package indexes · xrdb · source: dl-cdn.alpinelinux.org
sudo dnf install xrdbFedora Rawhide package metadata · xrdb · source: dl.fedoraproject.org
nix profile install nixpkgs#xrdbnixpkgs package indexes · pkgs/by-name/xr/xrdb/package.nix · source: api.github.com
sudo zypper install xrdbopenSUSE Tumbleweed package metadata · xrdb · source: download.opensuse.org
overview
X resource database utility
history
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.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
xrdb | cli | global executable |
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.
https://gitlab.freedesktop.org/xorg/app/xrdb
install metadata
| Package key | brew:xrdb |
|---|---|
| Version | 1.2.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/xrdb |
| Homepage | https://gitlab.freedesktop.org/xorg/app/xrdb |
| Repository | https://gitlab.freedesktop.org/xorg/app/xrdb |
| Upstream docs | https://gitlab.freedesktop.org/xorg/app/xrdb/-/blob/master/man/xrdb.man |
| License | MIT-open-group AND HPND-DEC |
| Source archive | https://www.x.org/releases/individual/app/xrdb-1.2.2.tar.xz |
| Last updated | 2026-05-25T14:49:53-04:00 |
| Pulse | updated |
| Dependencies | libx11, libxmu |
| Build dependencies | pkgconf |
| Bottle | available (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-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | xrdb |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
xrdb
nix profile install nixpkgs#xrdbxrdb 1.2.2-r0
X server resource database utility
sudo apk add xrdbxrdb-doc 1.2.2-r0
X server resource database utility (documentation)
sudo apk add xrdb-docxrdb 1.2.2-7.fc44
X server resource database utility
sudo dnf install xrdbxrdb 1.2.2-1.8
X server resource database utility
sudo zypper install xrdbxrdb
sudo port install xrdbsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.