Nov 9, 2011

Install Expect in Linux

Install Expect in Linux


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".

RedHat Enterprise Linux

Need to install the "expect" package in RHEL Server for scripting.


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: