How to Install and Uninstall expect.x86_64 Package on Amazon Linux 2

Last updated: January 06,2025

1. Install "expect.x86_64" package

This is a short guide on how to install expect.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install expect.x86_64

2. Uninstall "expect.x86_64" package

Please follow the step by step instructions below to uninstall expect.x86_64 on Amazon Linux 2:

$ sudo yum remove expect.x86_64 $ sudo yum autoremove

3. Information about the expect.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : expect
Arch : x86_64
Version : 5.45
Release : 14.amzn2.0.2
Size : 263 k
Repo : amzn2-core/2/x86_64
Summary : A program-script interaction and testing utility
URL : http://expect.nist.gov/
License : Public Domain
Description : Expect is a tcl application for automating and testing
: interactive applications such as telnet, ftp, passwd, fsck,
: rlogin, tip, etc. Expect makes it easy for a script to
: control another program and interact with it.
:
: This package contains expect and some scripts that use it.