Automic VaultAutomic Vault

brew

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

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install xterm

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install xterm

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

Linux

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

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

Debian apt已验证 · 92%
sudo apt install xterm

Debian stable package indexes · xterm · 来源: deb.debian.org

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

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

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

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

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

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

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

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

概览

软件包摘要

Terminal emulator for the X Window System

命令和别名

  • koi8rxterm
  • resize
  • uxterm
  • xterm

历史

项目历史与用法

xterm is the canonical terminal emulator for the X Window System: a DEC VT-family and Tektronix 4014 compatible terminal window that has survived from the first X experiments into modern X.Org packaging. For package nerds, it is both a usable terminal and a reference point for terminal control sequences, terminfo behavior, and X11 terminal compatibility.

项目历史

xterm predates the X Window System in a narrow but important sense. Thomas Dickey's FAQ preserves Jim Gettys' account that Mark Vandevoorde first wrote it in the summer of 1984 as a stand-alone terminal emulator for the DEC VAXstation 100, then retargeted it to X when X became the more useful path.

The early program accumulated work from Gettys and others: Bob McNamara's ANSI parser, Tektronix graphics support from Doug Mink at the Smithsonian Astrophysical Observatory, an X11 port by Loretta Guarino, and later X Consortium maintenance. That mixed authorship explains why xterm carries both terminal-emulation and early-workstation history.

Thomas E. Dickey began sustained xterm work in the mid-1990s, initially around color behavior, ncurses needs, and XFree86 integration. His project page describes xterm's terminal-description evolution from VT102-oriented behavior to VT220 and then VT420-oriented behavior, while the changelog records continuing patch-level maintenance into the 2020s.

采用历史

xterm's adoption followed X11 itself. It became the standard terminal emulator shipped with X distributions, so Unix workstations, XFree86, X.Org, Cygwin/X, XQuartz-style setups, and Linux distributions inherited it as the plain X terminal even after desktop environments added newer terminal apps.

The larger adoption story is compatibility. Terminal applications, curses libraries, shell prompts, and title-setting helpers often target xterm-compatible behavior even when the actual emulator is rxvt, dtterm, GNOME Terminal, Konsole, iTerm2, or another descendant. This made xterm a de facto behavior spec as much as a package.

Dickey's upstream page links packages, historical source archives, the FAQ, control-sequence documentation, and the changelog, reflecting xterm's unusual status as an old X component still maintained as an independent upstream and still distributed by package managers.

使用方式

Users run `xterm` to open a shell or command in an X11 window; `uxterm` wraps xterm for Unicode locales; `koi8rxterm` targets KOI8-R environments; and `resize` reports terminal dimensions to shells. Options and X resources control fonts, colors, scrollback, geometry, titles, selections, and terminal modes.

Developers use xterm as a practical testbed for terminal behavior: cursor addressing, colors, alternate-screen behavior, title operations, UTF-8, terminfo capabilities, bracketed paste, and compatibility with old DEC and Tektronix expectations.

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

xterm matters because package history, protocol history, and terminal compatibility meet in one executable. Installing it is not just installing a terminal; it brings a long-lived X11 terminal behavior that many terminal programs and scripts already know how to speak.

It is also a maintenance case study. Rather than being replaced by a new framework, xterm survived by preserving old X and DEC behavior while adding color, Unicode, Xft fonts, newer DEC emulation, and safety controls around risky terminal operations.

时间线

  • 1984: Mark Vandevoorde writes the original VS100 terminal emulator during the summer X began, then retargets it to X.
  • 1985: Doug Mink adds Tektronix-style graphics support for Smithsonian Astrophysical Observatory workflows using early X systems.
  • 1987: X11-era development begins; Loretta Guarino ports xterm to X11 according to the FAQ's preserved authorship history.
  • Early 1996: Thomas Dickey begins sustained xterm maintenance work around color, portability, and terminal-description correctness.
  • 1996: XFree86-era patches move xterm toward fuller VT220-style behavior and updated termcap/terminfo descriptions.
  • 2012: The preferred xterm terminal description shifts to a VT420-oriented basis, per Dickey's project history.
  • 2020s: xterm remains maintained upstream with changelog entries and package-manager distribution across Unix-like systems.

Related projects

  • X Window System and X.Org: the display-system lineage that made xterm a standard client.
  • XFree86: the project through which much mid-1990s and early-2000s xterm work flowed.
  • ncurses, termcap, and terminfo: terminal capability databases and libraries whose xterm entries evolved alongside the emulator.
  • vttest: Thomas Dickey's related terminal test program.
  • rxvt, kterm, hanterm, dtterm, GNOME Terminal, and Konsole: terminal emulators that intersect with xterm compatibility.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
koi8rxtermcli全局可执行文件
resizecli全局可执行文件
uxtermcli全局可执行文件
xtermcli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://invisible-island.net/xterm/

安装元数据

软件包元数据

软件包键brew:xterm
版本410
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/xterm
主页https://invisible-island.net/xterm/
仓库https://github.com/ThomasDickey/xterm-snapshots
上游文档https://invisible-island.net/xterm
许可证X11 AND HPND
源码归档https://invisible-mirror.net/archives/xterm/xterm-410.tgz
最后更新2026-05-25T14:31:49-04:00
Pulseupdated
依赖fontconfig, freetype, libice, libx11, libxaw, libxext, libxft, libxinerama, libxmu, libxpm, libxt
构建依赖pkgconf
macOS 提供的库ncurses
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

xterm 398-1

X terminal emulator

https://invisible-island.net/xterm/xterm.html

sudo apt install xterm
  • Section: x11
  • Architecture: amd64
  • 15 依赖
  • 1 提供
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Xterm
Debian stable package indexes · deb.debian.org · Debian stable package indexes: xterm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

xterm

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

xterm 390-1ubuntu3

X terminal emulator

https://invisible-island.net/xterm/xterm.html

sudo apt install xterm
  • Section: universe/x11
  • Architecture: amd64
  • 15 依赖
  • 1 提供
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Xterm
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: xterm from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

xterm 410-r0

X Terminal Emulator

https://invisible-island.net/xterm

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

xterm-doc 410-r0

X Terminal Emulator (documentation)

https://invisible-island.net/xterm

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

xterm 410-1.fc45

Terminal emulator for the X Window System

https://invisible-island.net/xterm

sudo dnf install xterm
  • License: MIT AND X11 AND HPND AND CC-BY-4.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: xterm
  • 16 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Xterm
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: xterm from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

xterm-resize 410-1.fc45

Set environment and terminal settings to current window size

https://invisible-island.net/xterm

sudo dnf install xterm-resize
  • License: MIT AND X11 AND HPND AND CC-BY-4.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: xterm
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Xterm
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: xterm-resize from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

xterm 410-1

X Terminal Emulator

https://invisible-island.net/xterm/

sudo pacman -S xterm
  • License: MIT AND X11 AND HPND AND CC-BY-4.0
  • Architecture: x86_64
  • 13 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Xterm
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: xterm from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

xterm 410-1.1

The basic X terminal program

https://invisible-island.net/xterm/xterm.html

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

xterm-bin 410-1.1

The basic X terminal program

https://invisible-island.net/xterm/xterm.html

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

xterm-resize 410-1.1

Set environment and terminal settings to current window size

https://invisible-island.net/xterm/xterm.html

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

xterm

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