I need to install expect in redhat.
through net I came to know that I must install tcl too in order to make expect work.
I have downloaded both packages but not able to install
# ls -lrt
total 3720
18:33 tcl8.4.20-src.tar.gz
18:33 expect5.45.3.tar.gz
18:40 expect5.45.3
[root@localhost src]# yum install tcl
Loaded plugins: langpacks, product-id
There are no enabled repos.
Run "yum repolist all" to see the repos you have.
You can enable repos with yum-config-manager --enable <repo>
[root@localhost src]# yum repolist all
Loaded plugins: langpacks, product-id
repo id repo name status
RHEL_7_Disc RHEL_7_x86_64_Disc disabled
repolist: 0
#
# rpm -ql tcl
package tcl is not installed
# rpm -ql expect
package expect is not installed
#
That thing where you download .tar.gz's and run make. You should not be doing that. You should be getting the right rpm's for your distribution and installing them