Automic VaultAutomic Vault

brew

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

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install expect

local Homebrew formula metadata

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

MacPorts ports tree · devel/expect/Portfile · ソース: api.github.com

Linux

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

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

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

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

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

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

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

nixpkgs package indexes · expect · ソース: raw.githubusercontent.com

Arch Linux pacman確認済み · 92%
sudo pacman -S expect

Arch Linux sync databases · expect · ソース: geo.mirror.pkgbuild.com

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

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

Windows

Windows Package Manager確認済み · 92%
winget install --id FlorinZamfir.Weather -e

Windows Package Manager source index · FlorinZamfir.Weather · ソース: cdn.winget.microsoft.com

概要

パッケージ概要

Program that can automate interactive applications

コマンドとエイリアス

  • autoexpect
  • autopasswd
  • cryptdir
  • decryptdir
  • dislocate
  • expect
  • ftp-rfc
  • kibitz
  • lpunlock
  • mkpasswd
  • multixterm
  • passmass
  • rftp
  • rlogin-cwd
  • timed-read
  • timed-run
  • tknewsbiff
  • tkpasswd
  • unbuffer
  • weather
  • xkibitz
  • xpstat

履歴

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

Expect is Don Libes' Tcl-based tool for automating interactive programs. Its package-manager significance comes from a stubbornly practical Unix problem: many tools were designed for humans at terminals, and Expect made those conversations scriptable.

プロジェクトの歴史

The Expect homepage says Expect was conceived in September 1987, with the bulk of version 2 designed and written between January and April 1990. It was later rewritten substantially for Tcl 6.0 in October 1991, then advanced through Expect 4 and Expect 5 as Tcl and Tk evolved.

Expect's history is tightly tied to Tcl and Tk. Expect uses Tcl as its control language for procedures, loops, file I/O, arithmetic, and scripting, and Tk support arrived with the Expect 4 line. The project also includes libexpect for C or C++ programs, although the README argues that the standalone expect scripting tool is usually the easier path.

採用の歴史

Expect spread through sysadmin and testing culture before today's automation stacks existed. The official site lists papers from USENIX 1990, LISA IV, Computing Systems, USENIX 1992, and other venues covering system administration, regression testing, conformance testing, and automating interactive network applications.

The README presents practical adoption signals from the era: users could get readings and transparencies, build Expect with or without Tcl and Tk, embed it in C programs, and buy commercial support or classes from companies such as ActiveState, Cygnus Support, and Computerized Processes Unlimited.

使われ方

Expect scripts spawn a program, send input, wait for expected output, and optionally hand control back to the user. The official introduction names telnet, ftp, passwd, fsck, rlogin, and tip as examples, and also calls out testing interactive applications.

The package includes helper programs such as autoexpect and unbuffer. In package-manager terms, Expect is often installed not because it is fashionable, but because some installer, test, login workflow, serial-console workflow, or legacy admin script needs to drive an interactive prompt reliably.

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

Expect is one of the canonical examples of a small Unix automation language that survived because the problem survived. SSH, CI, APIs, and configuration management reduced many uses, but they did not eliminate password prompts, REPLs, terminal programs, embedded consoles, or old scripts.

For packagers, Expect also brings the Tcl dependency relationship into focus: the executable is useful by itself, but its language runtime, optional Tk integration, examples, man pages, and legacy scripts shape how downstream packages split and test it.

タイムライン

  • 1987: Expect was conceived in September.
  • 1990: The bulk of version 2 was designed and written between January and April.
  • 1991: About half of Expect was rewritten for Tcl 6.0.
  • 1993: Expect 4 alpha introduced Tk support; production Expect 4 followed in August.
  • 1994: Production Expect 5 was released in March.
  • 1995: The Exploring Expect book became available in January.
  • 1999: Substantial rewriting added Tcl 8.2 support, an exp-channel driver, object support, and Unicode-related work.

Related projects

  • Tcl is Expect's control language and runtime foundation.
  • Tk is the GUI toolkit used by Expect variants such as expectk.
  • DejaGnu is related through the regression and conformance testing use case mentioned in Expect's readings.

セキュリティ状態

リスクレベル: blue

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

リスク分類器

リスク blue · 信頼度 中 · tool

理由

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

信号

  • text:ftp,decrypt

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 8 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 3 件のビルド依存関係があります。

推奨レビュー

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

実行可能ファイル

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

コマンド種類公開範囲メモ
autoexpectcliグローバル実行可能ファイル
autopasswdcliグローバル実行可能ファイル
cryptdircliグローバル実行可能ファイル
decryptdircliグローバル実行可能ファイル
dislocatecliグローバル実行可能ファイル
expectcliグローバル実行可能ファイル
ftp-rfccliグローバル実行可能ファイル
kibitzcliグローバル実行可能ファイル
lpunlockcliグローバル実行可能ファイル
mkpasswdcliグローバル実行可能ファイル
multixtermcliグローバル実行可能ファイル
passmasscliグローバル実行可能ファイル
rftpcliグローバル実行可能ファイル
rlogin-cwdcliグローバル実行可能ファイル
timed-readcliグローバル実行可能ファイル
timed-runcliグローバル実行可能ファイル
tknewsbiffcliグローバル実行可能ファイル
tkpasswdcliグローバル実行可能ファイル
unbuffercliグローバル実行可能ファイル
weathercliグローバル実行可能ファイル
xkibitzcliグローバル実行可能ファイル
xpstatcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

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

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

https://core.tcl-lang.org/expect/index

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:expect
バージョン5.45.4
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/expect
ホームページhttps://core.tcl-lang.org/expect/index
リポジトリhttps://core.tcl-lang.org/expect
上流ドキュメントhttps://core.tcl-lang.org/expect/dir
ライセンスLicenseRef-Homebrew-public-domain
ソースアーカイブhttps://downloads.sourceforge.net/project/expect/Expect/5.45.4/expect5.45.4.tar.gz
最終更新2026-06-19T12:30:06-07:00
Pulseupdated
依存関係tcl-tk@8
ビルド依存関係autoconf, automake, libtool
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameexpect
Version Scheme0
Revision3
Conflicts With
  • bash-snippets
  • ircd-hybrid
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

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

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

Debian apt95%

expect 5.45.4-4

Automates interactive applications

https://core.tcl.tk/expect/

sudo apt install expect
  • Section: interpreters
  • Architecture: amd64
  • 4 依存関係
  • 1 提供
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Expect
Debian stable package indexes · deb.debian.org · Debian stable package indexes: expect from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

tcl-expect 5.45.4-4

Automates interactive applications (Tcl package)

https://core.tcl.tk/expect/

sudo apt install tcl-expect
  • Section: interpreters
  • Architecture: amd64
  • Source Package: expect
  • 2 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Expect
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tcl-expect from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

tcl-expect-dev 5.45.4-4

Automates interactive applications (development)

https://core.tcl.tk/expect/

sudo apt install tcl-expect-dev
  • Section: devel
  • Architecture: amd64
  • Source Package: expect
  • 2 依存関係
  • normalized package name match
  • 一致条件: Expect
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tcl-expect-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

expect

nix profile install nixpkgs#expect
  • normalized package name match
  • 一致条件: Expect
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: expect from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

expect 5.45.4-3

Automates interactive applications

https://core.tcl.tk/expect/

sudo apt install expect
  • Section: universe/interpreters
  • Architecture: amd64
  • 4 依存関係
  • 1 提供
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Expect
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: expect from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

tcl-expect 5.45.4-3

Automates interactive applications (Tcl package)

https://core.tcl.tk/expect/

sudo apt install tcl-expect
  • Section: universe/interpreters
  • Architecture: amd64
  • Source Package: expect
  • 2 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Expect
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tcl-expect from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

tcl-expect-dev 5.45.4-3

Automates interactive applications (development)

https://core.tcl.tk/expect/

sudo apt install tcl-expect-dev
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: expect
  • 2 依存関係
  • normalized package name match
  • 一致条件: Expect
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tcl-expect-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

expect 5.45.4-r5

A tool for automating interactive applications

https://core.tcl-lang.org/expect/index

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

expect-dev 5.45.4-r5

A tool for automating interactive applications (development files)

https://core.tcl-lang.org/expect/index

sudo apk add expect-dev
  • License: NIST-PD
  • Architecture: x86_64
  • Source Package: expect
  • normalized package name match
  • 一致条件: Expect
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: expect-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

expect-doc 5.45.4-r5

A tool for automating interactive applications (documentation)

https://core.tcl-lang.org/expect/index

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

expect 5.45.4-31.fc45

A program-script interaction and testing utility

https://core.tcl.tk/expect/index

sudo dnf install expect
  • License: LicenseRef-Fedora-Public-Domain
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: expect
  • 5 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Expect
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: expect from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

expect-devel 5.45.4-31.fc45

A program-script interaction and testing utility

https://core.tcl.tk/expect/index

sudo dnf install expect-devel
  • License: LicenseRef-Fedora-Public-Domain
  • Category: Unspecified
  • Architecture: i686
  • Source Package: expect
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Expect
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: expect-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

expectk 5.45.4-31.fc45

A program-script interaction and testing utility

https://core.tcl.tk/expect/index

sudo dnf install expectk
  • License: LicenseRef-Fedora-Public-Domain
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: expect
  • 2 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Expect
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: expectk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

expect 5.45.4-5

A tool for automating interactive applications

https://www.nist.gov/el/msid/expect.cfm

sudo pacman -S expect
  • License: custom
  • Architecture: x86_64
  • 1 依存関係
  • normalized package name match
  • 一致条件: Expect
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: expect from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

expect 5.45.4-8.4

A Tool for Automating Interactive Programs

https://core.tcl-lang.org/expect/

sudo zypper install expect
  • License: SUSE-Public-Domain
  • Category: Development/Languages/Tcl
  • Architecture: x86_64
  • Source Package: expect
  • 4 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Expect
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: expect from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

expect-devel 5.45.4-8.4

Header Files and C API Documentation for expect

https://core.tcl-lang.org/expect/

sudo zypper install expect-devel
  • License: SUSE-Public-Domain
  • Category: Development/Libraries/Tcl
  • Architecture: x86_64
  • Source Package: expect
  • 1 提供
  • normalized package name match
  • 一致条件: Expect
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: expect-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

ソース経路

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

このページは 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