Installing ActiveTcl

ActiveTcl binaries for Windows, Mac OS X, Linux (x86, and x86_64), Solaris, AIX, and HP-UX are available from the ActiveState web site.

System Requirements for ActiveTcl

Windows

Mac OS X

Linux

Linux x86_64

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

AIX

HP-UX

Installing ActiveTcl

Windows

ActiveTcl is distributed on Windows as an executable installer (.exe file).

Mac OS X

ActiveTcl is distributed on Mac OS X as a disk image (.dmg file). The disk image contains an installer package (.pkg bundle) that installs ActiveTcl.

OS X includes a non-interactive command line interface to Apple's Installer. To install the ActiveTcl Apple installer from the command line:

    $ sudo installer -pkg /Users/<username>/ActiveTcl-<version>.pkg

More information on the command line interface to Installer can be found in its man page.

ActiveTcl executables (wish, tclsh and tkcon) are installed in /usr/local/bin. If this directory is not in the user's PATH environment variable, it can be added manually to the .profile or .bash_ profile file in the user's home directory. For example:

    PATH=/usr/local/bin:$PATH
    export PATH

Linux / Linux x86_64

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.

AIX

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

Or:

gunzip < /path/to/ActiveTcl-download.tar.gz | 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 (ActiveTcl/bin) is included in your PATH variable.

HP-UX

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

Or:

gunzip < /path/to/ActiveTcl-download.tar.gz | 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 (ActiveTcl/bin) is included in your PATH variable.

Uninstalling ActiveTcl

Windows

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

Mac OS X

Run the uninstall script provided by ActiveTcl and installed under /Library/Receipts/ActiveTcl-<version>/Contents/Resources/uninstall. This will remove all files, symbolic links and directories created during installation, after the user has confirmed his intentions. For example:

    $ cd /Library/Receipts/ActiveTcl-<version>/Contents/Resources
    $ sudo ./uninstall
    ... List of files, links, etc. which are removed ...
   

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. 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 Tcl Dev Kit, uninstall Tcl Dev Kit 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. 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 Tcl Dev Kit, uninstall Tcl Dev Kit before uninstalling ActiveTcl.

AIX

To uninstall ActiveTcl, run the "uninstall_ActiveTcl.tcl" script that is stored, by default, in the directory /lib/ppm/log/ActiveTcl. 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 Tcl Dev Kit, uninstall Tcl Dev Kit before uninstalling ActiveTcl.

HP-UX

To uninstall ActiveTcl, run the "uninstall_ActiveTcl.tcl" script that is stored, by default, in the directory /lib/ppm/log/ActiveTcl. 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 Tcl Dev Kit, uninstall Tcl Dev Kit before uninstalling ActiveTcl.