ActiveTcl User Guide

Installing ActiveTcl

ActiveTcl binaries for Windows, Linux and Solaris are available from the ActiveState web site.

System Requirements for ActiveTcl

Windows

Linux

Solaris

Note that 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/.

Installing ActiveTcl

Windows

Double-click the installer file to extract the contents and run the installation.

Linux

The download is a tar-gzipped archive. To extract, enter the following command at the shell prompt:

gtar zxf /path/to/ActiveTcl-download.tar.gz

In the directory where you extracted the archive, run the install.sh installer script, 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 (ActiveTcl/bin) is included in your PATH variable.

Solaris

The download is a compressed tar archive. To extract, enter the following command at the shell prompt:

compress -cd /path/to/ActiveTcl-download.tar.Z | tar xf -

In the directory where you extracted the archive, run the install.sh installer script, 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.

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.

Uninstalling ActiveTcl

Windows

To uninstall ActiveTcl, from the Start menu, select Programs|ActiveState ActiveTcl|Uninstall ActiveTcl.

Linux

To uninstall ActiveTcl, run the "uninstall.tcl" script that is located in the directory where you extracted the ActiveTcl archive. Note that you must use the "wish" in the distribution you wish to uninstall. For example:

% /path/Tcl/bin/wish /path/Tcl/lib/ppm/log/ActiveTcl/uninstall_ActiveTcl.tcl

stored, by default, in the directory /lib/ppm/log/ActiveTcl (full ActiveTcl installation) or /lib/ppm/log/ActiveTcl-uk (ActiveTcl Upgrade Kit installation). You must use the wish 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/wish /path/Tcl/lib/ppm/log/ActiveTcl/uninstall_ActiveTcl.tcl

Note: if you are uninstalling both ActiveTcl and TclPro, uninstall TclPro before uninstalling ActiveTcl.

Solaris

To uninstall ActiveTcl, run the "uninstall_ActiveTcl.tcl" script that is stored, by default, in the directory /lib/ppm/log/ActiveTcl (full ActiveTcl installation) or /lib/ppm/log/ActiveTcl-uk (ActiveTcl Upgrade Kit installation). You must use the wish 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/wish /path/Tcl/lib/ppm/log/ActiveTcl/uninstall_ActiveTcl.tcl

Note: if you are uninstalling both ActiveTcl and TclPro, uninstall TclPro before uninstalling ActiveTcl.