See http://www.tkdocs.com/tutorial/install.html.
For Linux, here is a shell script that is easy to follow:
if [ -z $installdir ]; then installdir="/opt/ActiveTcl-8.5" fi if [ ! -d "$installdir" ]; then echo "Installing ActiveTcl8.5.10..." echo "IMPORTANT: Be sure to use the default settings in the install dialog." wget http://downloads.activestate.com/ActiveTcl/releases/8.5.10.1/ActiveTcl8.5.10.1.295062-linux-x86_64-threaded.tar.gz tar -xf ActiveTcl8.5.10.1.295062-linux-x86_64-threaded.tar.gz cd ActiveTcl8.5.10.1.295062-linux-x86_64-threaded ./install.sh fi if [ ! -d "/opt/ActiveTcl-8.5" ]; then echo "Could not find /opt/ActiveTcl-8.5" exit fi export CONFIGURE_OPTS=" \ --with-tcl-dir=$installdir \ --with-tk-dir=$installdir \ --with-tcllib=tclstub8.5 \ --with-tklib=tkstub8.5 \ --enable-tcltk_stubs \ --enable-tcl-thread \ --enable-pthread \ " ruby-install ruby -- $CONFIGURE_OPTS
There was an error while loading. Please reload this page.