Popular Posts

May 10, 2018

Install Expect and Tcl package on Solaris 10

Install Expect and Tcl package on Solaris 10

APPLIES TO : Solaris 10

ISSUE : By default Solaris 10 OS will not have expect and TCL package installed, 

GOAL :  Install expect package and TCL package in Solaris 10,

SOLUTION : Download the latest expect and TCL package from sourceforge site or the version expect5.45.3  tcl8.6.8

1.     Download the expect and tcl packages
                    expect - sourceforge -  Download  
                    tcl - tcslsite - Download

2.     Unzip the gz files
                    gzip -d expect5.45.3.tar.gz
                    gzip -d tcl8.6.8-src.tar.gz

3.     Extract the tar files
                    tar -xvf tcl8.6.8-src.tar
                    tar -xvf expect5.45.3.tar

4.     Add /usr/sfw/bin, /usr/local/bin and /usr/ccs/bin to your path, and export it

5.     Set the CC environment variable to the value gcc and export it

6.     Configure and Installing Tcl binary, cd to the extracted directory and into the directory name unix
                    cd /var/tmp/tcl8.6.8-src/unix
                    ./configure
                    make
                    make test       # To check that the build is worked
                    make install   # Install the Tcl package in place, Installed command will be available under /usr/local/bin/tclsh8.4

7.     Configure and Installing expect binary, cd to the extracted directory
                    cd /var/tmp/expect5.45.3
                    ./configure
                    make expect    # Does the build.
                    make install    # Install the expect package, The command is under /usr/local/bin/expect

8.     Verify the command availability
                    which expect
                   /usr/local/bin/expect 


~Judi~
install expect in solaris
download expect package for solaris 10
how to install expect package on solaris 10
solaris 10 packages download
expect command in solaris
how to check if expect is installed in solaris
expect download for solaris
expect package for solaris 11
how to install expect on solaris
expect package on sun solaris 10
Installing expect



1 comment:

  1. Hi Judi,

    Could you please assist procedure to uninstall the expect and TCL packages in Solaris 10.
    Thanks in advance...

    Regards,
    Satya

    ReplyDelete

Popular Posts