###### RedHat5.0系统中安装expect #######
1. 查看系统中是否有tcl,tcl用来编译expect
[root@localhost ~]# rpm -qa | grep tcl
2. 从系统盘中找到expect:/mnt/Server
3. 切换到光盘的Server目录:
cd /mnt/Server
查找所需要的软件
[root@localhost Server]# ls | grep expect
expect-5.43.0-5.1.i386.rpm
expect-5.43.0-5.1.x86_64.rpm
expect-devel-5.43.0-5.1.i386.rpm
expect-devel-5.43.0-5.1.x86_64.rpm
expectk-5.43.0-5.1.x86_64.rpm
pexpect-2.3-3.el5.noarch.rpm
[root@localhost Server]# ls | grep tcl
db4-tcl-4.3.29-10.el5_5.2.x86_64.rpm
postgresql84-pltcl-8.4.5-1.el5_5.1.x86_64.rpm
postgresql84-tcl-8.4.5-1.el5_5.1.x86_64.rpm
postgresql-tcl-8.1.22-1.el5_5.1.x86_64.rpm
ruby-tcltk-1.8.5-5.el5_4.8.x86_64.rpm
tcl-8.4.13-4.el5.i386.rpm
tcl-8.4.13-4.el5.x86_64.rpm
tcl-devel-8.4.13-4.el5.i386.rpm
tcl-devel-8.4.13-4.el5.x86_64.rpm
tcl-html-8.4.13-4.el5.x86_64.rpm
tclx-8.4.0-5.fc6.x86_64.rpm
tclx-devel-8.4.0-5.fc6.i386.rpm
tclx-devel-8.4.0-5.fc6.x86_64.rpm
tclx-doc-8.4.0-5.fc6.x86_64.rpm
[root@localhost Server]# pwd
/mnt/Server
[root@localhost Server]#
5. 安装所需要的软件包即可。
阅读(1536) | 评论(0) | 转发(0) |