CentOS安装expect

网友投稿 1038 2022-09-21

CentOS安装expect

CentOS安装expect

expect是在tcl基础上创建起来的,因此在安装expect之前需要安装tcl

安装TCL

-:~]# cd /tools/

[root@test tools]# wget tools]# tar xftcl8.5.19-src.tar.gz

[root@test tools]# cdtcl8.5.19/unix/

[root@test unix]#./configure

[root@test unix]# make

[root@test unix]# makeinstall

[root@test unix]# cd

安装expect

官网:~]# cd /tools/

[root@test tools]# wgettools]# tar xfexpect5.45.tar.gz

[root@test tools]# cdexpect5.45

[root@test expect5.45]#./configure --with-tcl=/usr/local/lib/ --with-tclinclude=/

tools/tcl8.5.19/generic/

[root@test expect5.45]# make

[root@test expect5.45]# makeinstall

[root@test expect5.45]# cd

[root@mysql-master ~]# whichexpect

/usr/local/bin/expect

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:Unix Study之--AIX系统构建RAC通过ASM磁盘共享
下一篇:C#基本数据类型(cp是什么意思?)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~