expect from home:non7top:epel5 project
Select Your Operating System
Add repository and install manually
For CentOS 5 run the following as root:
cd /etc/yum.repos.d/ wget https://download.opensuse.org/repositories/home:non7top:epel5/CentOS_5/home:non7top:epel5.repo yum install expect