How to Install and Uninstall pexpect.noarch Package on Amazon Linux 2

Last updated: January 11,2025

1. Install "pexpect.noarch" package

This tutorial shows how to install pexpect.noarch on Amazon Linux 2

$ sudo yum makecache $ sudo yum install pexpect.noarch

2. Uninstall "pexpect.noarch" package

This is a short guide on how to uninstall pexpect.noarch on Amazon Linux 2:

$ sudo yum remove pexpect.noarch $ sudo yum autoremove

3. Information about the pexpect.noarch package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : pexpect
Arch : noarch
Version : 2.3
Release : 11.amzn2
Size : 142 k
Repo : amzn2-core/2/x86_64
Summary : Pure Python Expect-like module
URL : http://pexpect.sourceforge.net/
License : MIT
Description : Pexpect is a pure Python module for spawning child applications;
: controlling them; and responding to expected patterns in their
: output. Pexpect works like Don Libes' Expect. Pexpect allows your
: script to spawn a child application and control it as if a human
: were typing commands.
:
: Pexpect can be used for automating interactive applications such
: as ssh, ftp, passwd, telnet, etc. It can be used to automate setup
: scripts for duplicating software package installations on
: different servers. And it can be used for automated software
: testing. Pexpect is in the spirit of Don Libes' Expect, but
: Pexpect is pure Python. Unlike other Expect-like modules for
: Python, Pexpect does not require TCL or Expect nor does it require
: C extensions to be compiled. It should work on any platform that
: supports the standard Python pty module.