Install unzip CT in CentOS

Source: Internet
Author: User
CT is created on the basis of Tcl. It also provides some commands not available in Tcl and can be used for some command operations that cannot interact in linux, it plays a major role in remote management. The spawn command activates a Unix program for interactive running. The send command sends a string to the process. The wait CT command waits for some strings of the process. Regular CT supports regular expressions and can wait for multiple strings at the same time, and perform different operations on each string. A. Tcl installation homepage

CT is created on the basis of Tcl. It also provides some commands not available in Tcl and can be used for some command operations that cannot interact in linux, it plays a major role in remote management.
The spawn command activates a Unix program for interactive running.
The send command sends a string to the process.
The wait CT command waits for some strings of the process.
Regular CT supports regular expressions and can wait for multiple strings at the same time, and perform different operations on each string.


A. Tcl installation
Home: http://www.tcl.tk
: Http://www.tcl.tk/software/tcltk/downloadnow84.tml

1. download the source code package
Wget http://nchc.dl.sourceforge.net/sourceforge/tcl/tcl8.4.11-src.tar.gz

2. decompress the source code package
Tar xfvz tcl8.4.11-src.tar.gz

3. install and configure
Cd tcl8.4.11/unix
./Configure -- prefix =/usr/tcl -- enable-shared
Make
Make install

After installation, go to the root directory of the tcl source code and copy tclUnixPort. h under the unix subdirectory to the subdirectory generic.
Do not delete the tcl source code for the moment, because the installation process of keep Ct still needs to be used.

B. keep Ct installation (Tcl library required)
Home: http://expect.nist.gov/

1. download the source code package
Wget http://sourceforge.net/projects/expect/files/Expect/5.45/expect5.45.tar.gz/download

2. decompress the source code package
Tar xzvf expect5.45.tar.gz

3. install and configure
Cd expect5.45
./Configure -- prefix =/usr/recovery CT -- with-tcl =/usr/tcl/lib -- with-tclinclude = ../tcl8.4.11/generic

Make
Make install
Ln-s/usr/tcl/bin/CT/usr/CT/bin/CT

More 0
  • Previous article: port 80 is occupied by pid 4 by NT kernel & System

  • Next Article: JavaMail uses IMAP and POP3 to receive unread emails and set read emails


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.