How To Install expect-devel.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install expect-devel.x86_64 on Amazon Linux 2.
What is expect-devel.x86_64
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 development files for the expect library.
We can use yum to install expect-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install expect-devel.x86_64.
Install expect-devel.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install expect-devel.x86_64 using yum by running the following command:
sudo yum -y install expect-devel.x86_64
How To Uninstall expect-devel.x86_64 on Amazon Linux 2
To uninstall only the expect-devel.x86_64 package we can use the following command:
sudo yum remove expect-devel.x86_64
expect-devel.x86_64 Package Contents on Amazon Linux 2
/usr/include/expect.h
/usr/include/expect_comm.h
/usr/include/expect_tcl.h
/usr/include/tcldbg.h
/usr/share/man/man3/libexpect.3.gz
References
Summary
In this tutorial we learn how to install expect-devel.x86_64 on Amazon Linux 2 using yum.