# xdpyinfo を Homebrew, apk, dnf, MacPorts, Nix, zypper でインストール

xdpyinfo のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:xdpyinfo
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install xdpyinfo
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install xdpyinfo
```

  証拠: MacPorts ports tree: x11/xdpyinfo/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add xdpyinfo
```

  証拠: Alpine Linux edge package indexes: xdpyinfo from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install xdpyinfo
```

  証拠: Fedora Rawhide package metadata: xdpyinfo from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#xdpyinfo
```

  証拠: nixpkgs package indexes: pkgs/by-name/xd/xdpyinfo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install xdpyinfo
```

  証拠: openSUSE Tumbleweed package metadata: xdpyinfo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:xdpyinfo
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.4.0
- **ソース概要:** X.Org: Utility for displaying information about an X server
- **ホームページ:** <https://www.x.org/>
- **最終更新:** 2026-07-04T13:13:44+09:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- xdpyinfo (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.4.0
## プロジェクトの歴史と使われ方

xdpyinfo is the X.Org command-line utility for interrogating an X server and printing its protocol, screen, visual, and extension capabilities. It is old-school X plumbing: not a user-facing desktop app, but a diagnostic probe for the display server behind one.

### プロジェクトの歴史

The X11R7.0 manual page credits Jim Fulton of the MIT X Consortium as author, with later extension support added by Joe Moss. That places xdpyinfo in the classic X client-tool tradition that predates modern X.Org packaging, then carried forward into the modular X.Org source tree.

X.Org's 2005 modularization split the old monolithic X Window System source into individual modules for applications, libraries, drivers, fonts, protocol descriptions, and related pieces. xdpyinfo became one of those independently releasable app modules, with its freedesktop.org GitLab project now describing it simply as a display information utility for X.

### 採用の歴史

xdpyinfo's adoption is tied to X11 itself. Administrators, distribution maintainers, build scripts, and users reach for it when they need to confirm that an X server exists, that DISPLAY points to the intended server, what screens and visuals are exposed, and which protocol extensions are present.

The tool is packaged as part of the wider X.Org application set across Unix-like systems. That packaging role matters because many higher-level desktop or graphics issues reduce to 'what does this X server actually advertise?', and xdpyinfo answers without requiring a full desktop environment.

### 使われ方

Typical use is direct inspection: run xdpyinfo against the default DISPLAY, pass -display for another server, use -queryExtensions to include numeric extension opcode/event/error details, or use -ext to dump information for a supported extension. It is often paired mentally with xwininfo, xprop, xrdb, xrandr, and other small X11 inspection commands.

Because it reports server capabilities rather than editing configuration, xdpyinfo is safe to run in diagnostics, bug reports, CI environments using Xvfb, remote X sessions, and package test scripts that need to verify extension availability.

### パッケージ好きにとっての重要性

xdpyinfo is a tiny but durable example of why X.Org is packaged as many small commands. Most users do not install it for daily interaction, but when a build, remote display, visual depth, or extension check fails, it becomes the quickest source of truth.

It also preserves the X11 client/server worldview in command form: a local program asks a display server what it can do, and the answer can be piped, pasted into bug reports, or used to explain why another graphical package behaves differently on two machines.

### タイムライン

- MIT X Consortium era: Jim Fulton authors xdpyinfo.
- 2005: X11R7.0 ships as the first complete modularized X.Org source release.
- 2010: xdpyinfo 1.2.0 is announced on xorg-announce.
- 2013: xdpyinfo 1.3.1 adds a -version option in a maintenance release.
- 2018: The freedesktop.org GitLab project for the app module is created during repository migration.
- 2025: The GitLab tag list records xdpyinfo 1.4.0.

### Related projects

- xwininfo inspects individual X windows rather than server-wide capabilities.
- xprop prints X window and root-window properties.
- xrandr focuses on RandR output configuration and display modes.
- Xvfb is often used with xdpyinfo in headless test environments.

### ソース

- <https://gitlab.freedesktop.org/xorg/app/xdpyinfo>
- <https://lists.x.org/archives/xorg-announce/2013-May/002217.html>
- <https://www.x.org/ModuleDescriptions/>
- <https://www.x.org/Other/Press/X11R6970Released/>
- <https://www.x.org/archive/X11R7.0/doc/html/xdpyinfo.1.html>


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

## 他のパッケージマネージャ記録

- Nix - xdpyinfo: normalized package name match | nixpkgs package indexes: pkgs/by-name/xd/xdpyinfo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - xdpyinfo - 1.4.0-r0: normalized package name match | Alpine Linux edge package indexes: xdpyinfo from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | display information utility for X | https://xorg.freedesktop.org/
- apk - xdpyinfo-doc - 1.4.0-r0: normalized package name match | Alpine Linux edge package indexes: xdpyinfo-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | display information utility for X (documentation) | https://xorg.freedesktop.org/
- dnf - xdpyinfo - 1.3.4-5.fc45: normalized package name match | Fedora Rawhide package metadata: xdpyinfo from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | X11 display information utility | http://www.x.org
- zypper - xdpyinfo - 1.4.0-1.5: normalized package name match | openSUSE Tumbleweed package metadata: xdpyinfo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Utility to display information about an X server | http://xorg.freedesktop.org/
- MacPorts - xdpyinfo: normalized package name match | MacPorts ports tree: x11/xdpyinfo/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/xdpyinfo.yml](https://github.com/mxcl/pkgdb/blob/main/combined/xdpyinfo.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
