How to Install and Uninstall expect Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: April 30,2024

1. Install "expect" package

Please follow the guidance below to install expect on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install expect

2. Uninstall "expect" package

Please follow the guidelines below to uninstall expect on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the expect package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: expect
Priority: optional
Section: universe/interpreters
Installed-Size: 291
Maintainer: Ubuntu Developers
Original-Maintainer: Sergei Golovan
Architecture: amd64
Version: 5.45-7
Replaces: expect-dev
Provides: expect-dev
Depends: libc6 (>= 2.4), libtcl8.6 (>= 8.6.0), tcl-expect
Recommends: tcl8.6, tk8.6
Conflicts: expect-dev
Filename: pool/universe/e/expect/expect_5.45-7_amd64.deb
Size: 137296
MD5sum: ae49e71d1f9ba62fa054983c9cc1e25f
SHA1: c57fab2bce8a2982a1ecf92e7e1784d710c77b3e
SHA256: abad38a5b63d9f2e77da359d27a514e552cae280a90df21332d91ee6cf8dfe9c
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
Multi-Arch: foreign
Homepage: http://sourceforge.net/projects/expect/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu