macOS
brew install expectlocal Homebrew formula metadata
sudo port install expectMacPorts ports tree · devel/expect/Portfile · ソース: api.github.com
brew
expect のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install expectlocal Homebrew formula metadata
sudo port install expectMacPorts ports tree · devel/expect/Portfile · ソース: api.github.com
sudo apk add expectAlpine Linux edge package indexes · expect · ソース: dl-cdn.alpinelinux.org
sudo apt install expectDebian stable package indexes · expect · ソース: deb.debian.org
sudo dnf install expectFedora Rawhide package metadata · expect · ソース: dl.fedoraproject.org
nix profile install nixpkgs#expectnixpkgs package indexes · expect · ソース: raw.githubusercontent.com
sudo pacman -S expectArch Linux sync databases · expect · ソース: geo.mirror.pkgbuild.com
sudo zypper install expectopenSUSE Tumbleweed package metadata · expect · ソース: download.opensuse.org
winget install --id FlorinZamfir.Weather -eWindows Package Manager source index · FlorinZamfir.Weather · ソース: cdn.winget.microsoft.com
概要
Program that can automate interactive applications
履歴
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.
セキュリティ状態
broad file, network, media, or database tool signal.
リスク blue · 信頼度 中 · tool
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
autoexpect | cli | グローバル実行可能ファイル | |
autopasswd | cli | グローバル実行可能ファイル | |
cryptdir | cli | グローバル実行可能ファイル | |
decryptdir | cli | グローバル実行可能ファイル | |
dislocate | cli | グローバル実行可能ファイル | |
expect | cli | グローバル実行可能ファイル | |
ftp-rfc | cli | グローバル実行可能ファイル | |
kibitz | cli | グローバル実行可能ファイル | |
lpunlock | cli | グローバル実行可能ファイル | |
mkpasswd | cli | グローバル実行可能ファイル | |
multixterm | cli | グローバル実行可能ファイル | |
passmass | cli | グローバル実行可能ファイル | |
rftp | cli | グローバル実行可能ファイル | |
rlogin-cwd | cli | グローバル実行可能ファイル | |
timed-read | cli | グローバル実行可能ファイル | |
timed-run | cli | グローバル実行可能ファイル | |
tknewsbiff | cli | グローバル実行可能ファイル | |
tkpasswd | cli | グローバル実行可能ファイル | |
unbuffer | cli | グローバル実行可能ファイル | |
weather | cli | グローバル実行可能ファイル | |
xkibitz | cli | グローバル実行可能ファイル | |
xpstat | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
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 |
| Pulse | updated |
| 依存関係 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | expect |
| Version Scheme | 0 |
| Revision | 3 |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
expect 5.45.4-4
Automates interactive applications
sudo apt install expecttcl-expect 5.45.4-4
Automates interactive applications (Tcl package)
sudo apt install tcl-expecttcl-expect-dev 5.45.4-4
Automates interactive applications (development)
sudo apt install tcl-expect-devexpect
nix profile install nixpkgs#expectexpect 5.45.4-3
Automates interactive applications
sudo apt install expecttcl-expect 5.45.4-3
Automates interactive applications (Tcl package)
sudo apt install tcl-expecttcl-expect-dev 5.45.4-3
Automates interactive applications (development)
sudo apt install tcl-expect-devexpect 5.45.4-r5
A tool for automating interactive applications
https://core.tcl-lang.org/expect/index
sudo apk add expectexpect-dev 5.45.4-r5
A tool for automating interactive applications (development files)
https://core.tcl-lang.org/expect/index
sudo apk add expect-devexpect-doc 5.45.4-r5
A tool for automating interactive applications (documentation)
https://core.tcl-lang.org/expect/index
sudo apk add expect-docexpect 5.45.4-31.fc45
A program-script interaction and testing utility
https://core.tcl.tk/expect/index
sudo dnf install expectexpect-devel 5.45.4-31.fc45
A program-script interaction and testing utility
https://core.tcl.tk/expect/index
sudo dnf install expect-develexpectk 5.45.4-31.fc45
A program-script interaction and testing utility
https://core.tcl.tk/expect/index
sudo dnf install expectkexpect 5.45.4-5
A tool for automating interactive applications
https://www.nist.gov/el/msid/expect.cfm
sudo pacman -S expectexpect 5.45.4-8.4
A Tool for Automating Interactive Programs
https://core.tcl-lang.org/expect/
sudo zypper install expectexpect-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ソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.