Find the answer to your Linux question:
Results 1 to 6 of 6
Is the Expect (scripting language with TCL) comes with Knoppix Live CD??...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2006
    Posts
    13

    Smile EXPECT and TCL ??on Knoppix


    Is the Expect (scripting language with TCL) comes with Knoppix Live CD??

  2. #2
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    It is not included in the package list to my knowledge, but Knoppix is Debian based so you should be able to install TCL using apt-get when up and running.
    Code:
    sudo apt-get update
    sudo apt-get install tcl tcl-tk
    You should also be able to browse for it in Aptitude or Synaptic.

  3. #3
    Just Joined!
    Join Date
    Sep 2006
    Posts
    13

    Expect Tcl

    Thanks for the immediate reply..

    But I'm not so familiar with code that u have written.
    -Since, It's a live CD how can we install Expect.
    -Can't we use the Expect distribution (on top of TCL/TK Distribution)
    to install it on Knoppix?
    -Is Fedora C4 or later version comes with Expect ?

  4. #4
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    The install in Knoppix will only last while you run the live cd, it will be gone when you power down.

    I'm not sure about Fedora. I would assume so. I know Suse comes with TCL/TK.

  5. #5
    Linux User
    Join Date
    Jun 2006
    Posts
    311
    Hi kasun04,
    Is Fedora C4 or later version comes with Expect ?
    Yes, Fedora Core 4 and Core 5 does have expect package. They also do have with Tcl/Tk packages.

    With Regards,
    Thinker

  6. #6
    Linux Newbie
    Join Date
    Oct 2004
    Posts
    114

    Smile

    Perhaps you can try Puppy Linux LiveCD with ActiveTCL:

    http://wiki.tcl.tk/11951

    I installed ActiveTcl (native mode) for linux on Puppy - not a glitch.

    http://support.activestate.com/product/activetcl

    Where is Expect? Older versions of ActiveTcl had an expect executable, but the new versions don't. Where did it go?
    Rather than being linked to a different interpreter, Expect has been made into a proper Tcl package. If you have the line:
    package require Expect
    In your source file before the first use of any Expect functions or variables, you can then run the file using tclsh, without having to use a special interpreter.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •