Product Documentation

TDK 4.1 Documentation


Installing Tcl Dev Kit

Tcl Dev Kit binaries for Windows, OS X, Linux, HP-UX, Solaris and AIX are available from the ActiveState web site.

Some Demos and Examples in Tcl Dev Kit require ActiveTcl. ActiveTcl also provides the standard basekits. ActiveTcl should be installed before Tcl Dev Kit for best results.

The Windows distribution includes documentation in Windows .CHM (compiled help) format. Alternatively, an HTML documentation package is available from the ActiveState web site. All other platform distributions include HTML documentation.

System Requirements for Tcl Dev Kit

Windows

  • Windows Vista/Server 2003/XP/2000/98/Me
  • ActiveTcl version 8.4.9.1 or greater.
  • 27 MB of temporary disk space (used during the installation) plus 27 MB for the final install.

Mac OS X

  • OS X version 10.3.9 or greater.
  • ActiveTcl version 8.4.10 or greater.
  • 20 MB of temporary disk space (used during installation), plus 33 MB for the final install.

Linux

  • ActiveTcl version 8.4.9.1 or greater.
  • 2.4 kernel or greater.
  • x86 architecture.
  • 35 MB of temporary disk space (used during the installation); 20 MB for the final install.

Solaris

  • ActiveTcl version 8.4.9.1 or greater.
  • Solaris 2.8 or greater on sparc.
  • Solaris 10 or greater on x86.
  • 44 MB of temporary disk space (used during the installation); 18 MB for the final install.

Note: Tar on Solaris 2.6 has a bug that prevents proper extraction of files in packages with long path names. GNU tar may therefore be required to extract the package into the filesystem correctly. A precompiled version of GNU tar for the sparc platform is available from http://www.sunfreeware.com/.

HP-UX

  • ActiveTcl version 8.4.9.1 or greater.
  • HP-UX 11 or greater.
  • PA-RISC architecture.
  • 47 MB of temporary disk space (used during the installation); 27 MB for the final install.

AIX

  • ActiveTcl version 8.4.10 or greater.
  • AIX 5.1 or greater.
  • rs600 (PowerPC) architecture.
  • 43 MB of temporary disk space (used during the installation); 25 MB for the final install.
Top

Installing Tcl Dev Kit

Multiple versions of the Tcl Dev Kit can be installed on the same system. See Can I install multiple versions of the TDK? in the FAQ for more information.

Windows

  • Download the Tcl Dev Kit installer (TDK-<version>-win32-ix86-threaded.exe).
  • Double-click the Tcl Dev Kit installer to start the installation.
  • Follow the Installer prompts.
  • After installation is complete, you may move TclDevKit<version>-win32-ix86-threaded.exe to the Trash.

Note: on Windows 98/ME, Tcl Dev Kit will not insert the directory containing its applications in the PATH environment variable. Manually alter your PATH variable as necessary after installation.

Mac OS X

  • Download the Tcl Dev Kit disk image (TclDevKit-<version>-macosx.dmg).
  • If the browser does not automatically mount the disk image and open the mounted folder in Finder, double-click TclDevKit<version>-macosx-universal-threaded.dmg to do so.
  • Double-click the Tcl Dev Kit installer package (TclDevKit-<version>.pkg) to start the installation.
  • Follow the Installer prompts. The installer will ask for administrative authentication if the current user does not have administrative priviledges.
  • After installation is complete, you may eject the Tcl Dev Kit disk image and move TclDevKit<version>-macosx-universal-threaded.dmg to the Trash.

Linux / Solaris / HP-UX / AIX

  • Download the Tcl Dev Kit tarball (TclDevKit-<version>-<platform>.tar.gz).
  • In a convenient directory, extract the tarball with a command like the following:
        gtar zxf /path/to/TclDevKit-download.tar.gz
    

    If tar is not available on your system, use gunzip. For example:

        gunzip < /path/to/TclDevKit-download.tar.gz | tar xf -
    

    Solaris 2.6 users: See note on tar in System Requirements

  • Run TclDevKit-platform/install.sh, which will automatically select between the GUI or text-based installer depending on your system configuration. After installation, make sure that the directory containing the installed executables is included in your PATH variable.
Top

Uninstalling Tcl Dev Kit

Windows

To uninstall Tcl Dev Kit, from the Start menu, select Programs|ActiveState Tcl Dev Kit|Uninstall Tcl Dev Kit.

Mac OS X

To uninstall Tcl Dev Kit, use the bundled uninstall script:

    sudo /Library/Receipts/TclDevKit-<version>.pkg/Contents/Resources/uninstall

Linux / Solaris / HP-UX / AIX

To uninstall Tcl Dev Kit, run the "uninstall_tdk.tcl" script (in /lib/ppm/log/tcldevkit by default). You must use the tdkbase interpreter from the distribution you wish to uninstall. Ensure that you do not run the uninstall script from a directory that will be removed during the uninstallation.

For example:

% /path/Tcl/bin/tdkbase /path/Tcl/lib/ppm/log/tcldevkit/uninstall_tdk.tcl

Note: If you are uninstalling both Tcl Dev Kit and ActiveTcl, and you had both installed into the same directory, uninstall Tcl Dev Kit before uninstalling ActiveTcl.

Top