Automic VaultAutomic Vault

brew

dtach を Homebrew, apk, apt, dnf, MacPorts, Nix, zypper でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install dtach

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install dtach

MacPorts ports tree · sysutils/dtach/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add dtach

Alpine Linux edge package indexes · dtach · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install dtach

Debian stable package indexes · dtach · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install dtach

Fedora Rawhide package metadata · dtach · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#dtach

nixpkgs package indexes · pkgs/by-name/dt/dtach/package.nix · ソース: api.github.com

openSUSE zypper確認済み · 92%
sudo zypper install dtach

openSUSE Tumbleweed package metadata · dtach · ソース: download.opensuse.org

概要

パッケージ概要

Emulates the detach feature of screen

コマンドとエイリアス

  • dtach

履歴

プロジェクトの歴史と使われ方

dtach is a tiny C program that provides the detach-and-reattach part of GNU screen without screen's terminal emulator, window management, or broader feature set. It is a classic Unix package for people who want one behavior, a Unix-domain socket, and almost nothing else.

プロジェクトの歴史

dtach was written by Ned T. Crigler because screen did not fit his needs: he wanted detached terminal sessions without multiple terminal support, terminal emulation, stream interpretation, or a large codebase. The official README says dtach passes the raw output stream through and only processes the detach character and suspend key unless those features are disabled.

The project's official changelog records an initial SourceForge release in version 0.3, portability work in 0.4 for FreeBSD, Debian alpha, Debian SPARC, Debian PowerPC, and Solaris, redraw and process-group changes in later releases, and version 0.9 adding AIX support plus `dtach -N` and `dtach -p` modes.

The SourceForge homepage points to the GitHub repository for development, making the GitHub URL the official HTTP(S) source-control page while SourceForge remains the canonical homepage and release-download surface.

採用の歴史

dtach became a quiet packaging staple because it solves a durable Unix problem with a tiny dependency footprint. The input package metadata records packages across Homebrew, Debian, Ubuntu, Fedora/DNF, Alpine/apk, MacPorts, Nix, and zypper ecosystems, and Homebrew still packages the 0.9 SourceForge tarball.

Its adoption is not about a fast-moving upstream. It is about stability: terminal users, rescue environments, remote shells, and minimal systems can get detach semantics without installing the heavier screen or tmux experience.

使われ方

Users create or attach to sessions by naming a Unix-domain socket, for example with `dtach -A /tmp/session command`, then detach with the configured detach key and later reattach. Separate attachers can choose different detach characters, suspend handling, and redraw methods.

dtach does not preserve scrollback or screen contents, so it works best with programs that can redraw themselves. The official page calls out full-screen programs such as emacs and ircII as motivating use cases because dtach avoids screen's terminal interpretation layer.

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

dtach is significant because it is the purest version of a beloved package-manager category: carve one feature out of a larger tool, keep the code tiny, and let users compose it with the rest of Unix. It is the detach feature as a package.

It also remains a useful contrast point for screen, tmux, abduco, dvtm, and terminal multiplexers generally. Package nerds care because dtach marks the boundary between session persistence and full terminal multiplexing.

タイムライン

  • 2004: The README copyright line begins, matching the early dtach era.
  • Version 0.3: The official changelog records the initial SourceForge release.
  • Version 0.4: Portability work adds FreeBSD, Debian alpha, Debian SPARC, Debian PowerPC, and Solaris support.
  • Version 0.9: The release adds AIX support, `dtach -N`, `dtach -p`, signal-state preservation, and socket-path fixes.
  • 2016: The README copyright line extends through 2016.
  • 2026: Homebrew still packages dtach 0.9 from SourceForge.

Related projects

  • GNU screen is the direct comparison and source of the detach feature dtach emulates.
  • tmux is the modern terminal multiplexer users often compare with dtach, though dtach intentionally avoids multiplexing features.
  • abduco and dvtm occupy nearby minimalist terminal-session territory.

セキュリティ状態

リスクレベル: グリーン

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 メタデータは 13 個のプラットフォームターゲットで利用できます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
dtachcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版0.9
マネージャ更新日
ローカルデータOK
上流not checked
検出された最新未検出

https://dtach.sourceforge.net/

  • 情報No package-manager update timestamp was available.信頼度 低
  • 情報Release/tag comparison is only available for GitHub repositories.https://dtach.sourceforge.net/信頼度 none

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:dtach
バージョン0.9
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/dtach
ホームページhttps://dtach.sourceforge.net/
リポジトリhttps://github.com/crigler/dtach
上流ドキュメントhttps://dtach.sourceforge.net/
ライセンスGPL-2.0-or-later
ソースアーカイブhttps://downloads.sourceforge.net/project/dtach/dtach/0.9/dtach-0.9.tar.gz
Bottle利用可能 (対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

dtach 0.9-7

emulates the detach/attach feature of screen

http://dtach.sourceforge.net/

sudo apt install dtach
  • Section: misc
  • Architecture: amd64
  • 1 依存関係
  • normalized package name match
  • 一致条件: Dtach
Debian stable package indexes · deb.debian.org · Debian stable package indexes: dtach from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

dtach

nix profile install nixpkgs#dtach
  • normalized package name match
  • 一致条件: Dtach
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/dt/dtach/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

dtach 0.9-5build1

emulates the detach/attach feature of screen

http://dtach.sourceforge.net/

sudo apt install dtach
  • Section: universe/misc
  • Architecture: amd64
  • 1 依存関係
  • normalized package name match
  • 一致条件: Dtach
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: dtach from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

dtach 0.9-r7

A program that emulates the detach feature of screen

https://dtach.sourceforge.net/

sudo apk add dtach
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: dtach
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Dtach
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dtach from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

dtach-doc 0.9-r7

A program that emulates the detach feature of screen (documentation)

https://dtach.sourceforge.net/

sudo apk add dtach-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: dtach
  • normalized package name match
  • 一致条件: Dtach
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dtach-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

dtach 0.9-32.fc44

A simple program that emulates the detach feature of screen

http://dtach.sourceforge.net

sudo dnf install dtach
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: dtach
  • 2 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Dtach
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: dtach from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

dtach 0.9+2.748020b-3.3

Background processes and reattach to them

http://dtach.sourceforge.net/

sudo zypper install dtach
  • License: GPL-2.0-or-later
  • Category: System/Console
  • Architecture: x86_64
  • Source Package: dtach
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Dtach
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: dtach from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

dtach

sudo port install dtach
  • normalized package name match
  • 一致条件: Dtach
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/dtach/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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