Get Tcl/Tk
Unless you are running Windows, there's a good chance you already have Tcl/Tk installed on your machine. Tcl and Tk are installed by default on MacOSX, and are part of most linux and unix distributions. Just type wish or tclsh at a command-line prompt to see if it is already installed
If you must install Tcl/Tk, the three primary avenues to get Tcl/Tk are to download Tclkit, download and install a pre-built "batteries included" distribution, or download, build and install directly from the official source code.
- Tclkit
-
A Tclkit is a remarkable implementation that combines Tcl, Tk, an embedded database, an object system, and a select set of extensions along with all associated data in a single executable file. Tclkits may be used to run tcl/tk interactively, and may be used to create and/or run whole applications that are themselves bundled into a single downloadable file called a starkit. Installation is as simple as copying a single file anywhere you want.
TclKit is available for Windows, Mac, and many unix systems.
Go to TclKit download site.
- Batteries Included Distributions
-
Batteries Included refers to a distribution that contains Tcl/Tk along with a large variety of open source extensions. There is no official batteries included distribution but the most popular one is ActiveTcl from ActiveState (http://www.activestate.com). ActiveState also provides support services and products specifically geared toward Tcl development
At present, ActiveTcl doesn't support the Macintosh. A pre-built MacOSX-specific batteries included distribution is available at sourceforge.
Go to ActiveTcl download site.
Go to Tcl/Tk Aqua download site at sourceforge. - Official source code
-
Tcl was designed to be built easily on just about any platform that has a C compiler. Likewise, Tk was designed to be built on Windows, Macintosh, and just about any unix platform that uses the X window system. The Tcl and Tk source code is hosted at SourceForge.