Install Expect in Linux
Introduction:
As per wiki "Expect is a Unix automation and testing tool for interactive applications such as telnet, ftp, fsck, rlogin, ssh, and others".
From man page "Expect is a program that "talks" to other interactive programs according to a script".
Release:
RedHat Enterprise Linux
Problem:
Need to install the "expect" package in RHEL Server for scripting.
Solution:
1) Download the ecpect package from the below link
2) Install the required dependecy packages "Tcl/Tk" language toolkit
# yum install tcl
3) Install the "expect" package using the below commands
# tar -zxvf expectx.xx.tar.gz
# ./configure
# make
# make install
No comments:
Post a Comment