How to Install and Uninstall expect Package on Ubuntu 21.10 (Impish Indri)

Last updated: April 30,2024

1. Install "expect" package

Please follow the guidelines below to install expect on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install expect

2. Uninstall "expect" package

Please follow the steps below to uninstall expect on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove expect $ sudo apt autoclean && sudo apt autoremove

3. Information about the expect package on Ubuntu 21.10 (Impish Indri)

Package: expect
Architecture: amd64
Version: 5.45.4-2build1
Multi-Arch: foreign
Priority: optional
Section: universe/interpreters
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Sergei Golovan
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 296
Provides: expect-dev
Depends: tcl8.6, libc6 (>= 2.4), libtcl8.6 (>= 8.6.0), tcl-expect
Suggests: tk8.6
Conflicts: expect-dev
Replaces: expect-dev
Filename: pool/universe/e/expect/expect_5.45.4-2build1_amd64.deb
Size: 137248
MD5sum: 3e9db572437b985e22d0a3c42b542384
SHA1: 225326e2d575450812712295eeb92d54b41db67d
SHA256: fcd20f5acb446b22ecf93425fb96b5eb005a99159dca8e67113df814ade96dbe
SHA512: 6c14779c7867362d2ba0abd8dbd9085201921116699d26bf77773a33606085286ef8fb31c43568ceb9ac4ee1a61cb07d8c240c6fd941d9d7e098a847d4238156
Homepage: https://core.tcl.tk/expect/
Description-en: Automates interactive applications
Expect is a tool for automating interactive applications according to a script.
Following the script, Expect knows what can be expected from a program and what
the correct response should be. Expect is also useful for testing these same
applications. And by adding Tk, you can also wrap interactive applications in
X11 GUIs. An interpreted language provides branching and high-level control
structures to direct the dialogue. In addition, the user can take control and
interact directly when desired, afterward returning control to the script.
.
This package contains the expect binary and several Expect based scripts.
Description-md5: 168e2767f12c89e933bb55f9c42e3ebf