Installing ActiveTcl for macOS
Requirements
- 50 MB for the final install
- macOS 10.7 (Lion) or later
- Intel processor or compatible
Installation
Installing with Package
- Download the ActiveTcl installer package (
ActiveTcl-<version>-macosx.pkg
). - Double-click the ActiveTcl installer package (
ActiveTcl-<version>.pkg
) to start the installation. - Follow the Installer prompts. The installer will prompt for administrative authentication if the current user does not have administrative privileges.
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
Installing with the Package command line tool
macOS includes a command-line tool, installer
, for installing macOS packages non-interactively from the command line. This can be useful for remote administration.
Download the ActiveTcl installer package (
ActiveTcl-<version>-macosx.pkg
).Install ActiveTcl:
sudo installer -pkg /Volumes/ActiveTcl-8.6/ActiveTcl-8.6.pkg -target /
Note: It is sometimes useful to create an install log file (e.g. to send to ActiveState technical support). To do this, use the
-verbose
and-dumplog
flags:sudo installer -pkg /Volumes/ActiveTcl-8.6/ActiveTcl-8.6.pkg \ -target / -verbose -dumplog > install.log 2>&1
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
Uninstalling
Apple does not provide a standard uninstallation tool or mechanism. You may, however, use the uninstall
script that comes with ActiveTcl to uninstall ActiveTcl:
sudo /Library/Frameworks/Tcl.framework/Versions/<version>/Resources/Scripts/uninstall