Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Knoppix Help Forum > EXPECT and TCL ??on Knoppix

Forgot Password?
 Knoppix Help Forum   For all discussions about Knoppix, the Linux "Live CD" that lets you run Linux without needing to install on your hard drive.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 10-12-2006   #1 (permalink)
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??
kasun04 is offline  


Reply With Quote
Old 10-12-2006   #2 (permalink)
/etc/init.d/moderator
 
bigtomrodney's Avatar
 
Join Date: Nov 2004
Location: Sunny South-East of Ireland
Posts: 6,038
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.
__________________
Registered Linux user #378740
New members read here / Forum Rules
#linuxforums on irc.freenode.net
bigtomrodney is offline   Reply With Quote
Old 10-12-2006   #3 (permalink)
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 ?
kasun04 is offline   Reply With Quote
Old 10-12-2006   #4 (permalink)
/etc/init.d/moderator
 
bigtomrodney's Avatar
 
Join Date: Nov 2004
Location: Sunny South-East of Ireland
Posts: 6,038
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.
__________________
Registered Linux user #378740
New members read here / Forum Rules
#linuxforums on irc.freenode.net
bigtomrodney is offline   Reply With Quote
Old 10-12-2006   #5 (permalink)
Linux User
 
Join Date: Jun 2006
Posts: 311
Hi kasun04,
Quote:
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
Thinker is offline   Reply With Quote
Old 11-03-2006   #6 (permalink)
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.
xxqq is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 04:50 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2