|
Installing on LinuxMost Linux-distributions contain up-to-date versions of Tcl/Tk and Python. If you installed e.g. any Redhat-based Linux distribution without manually selecting packages, you will already have Tcl/Tk and Python installed.You can check by typing python at your command prompt. If you have it installed you will get a message like this Python 1.5.1 (#1, May 19 1998, 20:13:43) [GCC 2.8.0] on sunos5 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>>If you type import Tkinter and Tkinter.Tk() a window should pop up. You can terminate the python interpreter by typing Ctrl-D. Python 1.5.1 (#1, May 19 1998, 20:13:43) [GCC 2.8.0] on sunos5 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>> import Tkinter >>> Tkinter.Tk() <Tkinter.Tk instance at f75a0> >>>If the stuff above does not work you need to install Tcl/Tk and Python. Also, if your Python version is older than 1.5.1 you should upgrade.
Installing RPM packagesCheck your Linux distribution CD/ROM or the RPM repository for RPMs for your particular hardware plattform.The recommended versions as of April 1999 are Python 1.5.1 and Tcl/Tk version 8.0.5.
Installing TarballsTcl/TkGato is written in Python but uses the Tk for its graphical user interface. You can download the most up-to-date distribution from Scriptics website.Recommended version as of April 1999: Tcl/Tk version 8.0.5. Follow the installation note on the that webpage.
PythonWhen you have Tcl/Tk installed, you can download Python. The recommended version as of April 1999 is Python version 1.5.1. Download pyth151.tgz and follow the build instructions.Remember to include support for Tkinter (this is explained in the README). Installing GatoDownload Gato version 0.96G from 04/09/2001 (Gato-0.96G.tar) and unpack the tar-file whereever you want.Make Gato and Gred executable by doing > chmod 755 Gato.py Gred.py You can create symbolic links to the executables in a directory contained in your path with > cd /dir_on_path > ln -s /whereever_you_put_gato/index.htmlGato.py gato > ln -s /whereever_you_put_gato/index.htmlGred.py gredso all users on the system can use gato and gred without worrying about paths or gato's files cluttered in all kinds of directories.
|