Gato: Installation


Unix (Linux, MacOS X, BSD, ...)

Most distributions come with Python installed. You can check that you are all set up by invoking the Python interpreter in a terminal

  > python
  Python 2.6.4 (r264:75706, Mar 16 2010, 09:46:46) 
  [GCC 4.0.1 (Apple Inc. build 5490)] on darwin
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import Tkinter
  >>> t = Tkinter.Tk()
Ctrl-D exists the Python shell. If there are problems, or you only have an outdated Python version available install Python and Tkinter packages with the package manager for your distribution.

If your Python is set-up, download Gato, unpack it and execute either or by evoking

  you@yourbox> python
You can also manually create symlinks as follows. Make Gato and Gred executable for everybopd by changing the protections. Make sure that the directory where they reside has the right execute and read permissions and that the read permissions for all files in the directory are correct (A umask 022 before unpacking helps)
  > chmod 755
Create symbolic links to the executables in a directory contained in your path with
  > cd dir_on_path
  > ln -s /whereever_you_put_gato/ gato 
  > ln -s /whereever_you_put_gato/ gred
so all users on the system can use gato and gred without worrying about paths or gato's files cluttered in all kinds of directories.

If you want to install Gato permanently, you can do so by using Python's setuptools and the provided in the Gato directory,

> python install
to install Gato in the default site-packages directory for your python installation. If you need to install it elsewhere you can control the install location by specifying an alternative prefix path and/or an alternative Python interpreter.
> /some/otherpath/python install --prefix=/yetanotherpath/

Linux packages

For Gentoo there is a Gato package available at


There is a port of Gato available under the name py-gato, see


Starting with MaxOS X 10.6 the situation with Tk and Python has been somewhat difficult, see The binaries for MacOS X have been tested on 10.5.x and 10.6.x and you can just use them if you run into difficulties installing from source. Please make sure that you have all the system updates.

MacOS X Version 10.4 and above come with Python 2.5 or 2.6 and Tkinter installed. You can run Gato either using with or without X11, based on the Tk library (Tk for X11, or AquaTk) used. If you want to use Gato without X11 you need to start it with pythonw, otherwise you will just get an error message. From within X11 you need to use python. Updates to the Python which comes pre-installed on MacOS X are available from

We also make a download available of which runs directly on MacOS X 10.4 and above. Check the Download page. You find also more recent binary releases at as part of the CATBox distribution.

If you want to use X11 on MacOS X you can check whether you are all set up using example under the Linux instructions.


On you can find a one (well, multiple) click installer which installs everything you need. After you have downloaded Gato and unpacked everything double-clicking should start the software. You find a binary release at as part of the CATBox distribution.