运维开发网
广告位招商联系QQ:123077622
 
广告位招商联系QQ:123077622

linux上安装tcl、tk、expect

运维开发网 https://www.qedev.com 2020-07-21 12:01 出处:网络
linux上安装tcl、tk、expect  1、tcl安装tcl8.5.9-src.tar.gz cd /tmp tar -zxvf tcl8.5.9-src.tar.gz
Linux上安装tcl、tk、expect  

1、tcl安装tcl8.5.9-src.tar.gz cd /tmp tar -zxvf tcl8.5.9-src.tar.gz cd tcl8.5.9/unix/ ./configure --prefix=/usr/local/tcl/ --enable-shared make make install /usr/local/tcl/bin/tclsh8.5 %exit 2、tk安装tk8.5.9-src.tar.gz cd /tmp tar -zxvf tk8.5.9-src.tar.gz cd tk8.5.9/unix/ ./configure --prefix=/usr/local/tk/ --with-tcl=/usr/local/tcl/lib/ --enable-shared make make install ln -s /usr/local/tcl/lib/libtcl8.5.so /usr/local/tk/lib/libtcl8.5.so /usr/local/tk/bin/wish8.5 %exit 3、expect安装expect-5.44.1.15.tar.gz cd /tmp tar -zxvf expect-5.44.1.15.tar.gz cd expect-5.44.1.15 ./configure --prefix=/usr/local/expect/ --with-tcl=/usr/local/tcl/lib/ --with-tclinclude=/tmp/tcl8.5.9/generic/ --with-tk=/usr/local/tk/lib/ --with-tkinclude=/tmp/tk8.5.9/generic/ --enable-shared make make install expect expect1.1> exit 这样就可以开始运行expect脚本了。

扫码领视频副本.gif

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号