Contents | Previous | Next | in Russian
There are several ways to install TKE:
The Windows installer works straightforward. It results in a stand-alone tke.exe that is used straightforward as well. However it doesn't provide a great freedom in customization. So, the Windows installer and its resulting tke.exe are ignored on these pages of [My TKE], entirely.
The TKE snapshot is useful if you want to get the freshest (developed now) version of TKE. This snapshot is a ready-to-use directory of TKE, so you may look at it as the installed TKE. The snapshot weighs ~ 60 Mb. To get a snapshot, you may use Download Snapshot button from Code page.
The TKE clone is useful if you want to participate in TKE development. The clone weighs ~ 430 Mb (on 24 Feb'19). To get a clone, you may use the hg command from Code page (of course, you should have Mercurial VCS installed and configured beforehand). For example, I use the following command:
hg clone ssh://aplsimple@hg.code.sf.net/p/tke/code tke-code
Both the snapshot's and clone's TKE are started with the command:
wish <TKE directory>/lib/tke.tcl
Here we shall consider only the installation from .tgz archive which is downloaded with clicking Download button in TKE site.
Let us assume you have downloaded tke-3.6.tgz. Your next actions would be:
Unpack tke-3.6.tgz into a temporary directory, e.g. ~/TMP. You should get ~/TMP/tke-3.6 directory with the installation files of TKE.
Go to ~/TMP/tke-3.6 and at first read the README file that contains instructions how to install Tcl/Tk and TKE itself. Below we illustrate the README's instructions. The pictures are shot on Debian GNU/Linux, Russian locale.
Well, your next action would be to run the command:
tclsh ./install.tcl
If you saw a required package isn't found on your system, try and install it. For this, you should cancel the TKE installation and run an installation of absent package(s). For example, as on the picture:
If all of required packages are found by TKE, you may continue with TKE installation. At first, you should enter the directory name for future location of TKE. Then, you should confirm it with pressing "y" and Return/Enter key.
After this, you would get introductory messages of how to run the installed TKE.
By now, what you perhaps should take account of is the importance of ~/.tke directory. It is where TKE keeps the user's preferences and general customizing stuff along with third party plugins and saved options. You would find it useful to backup this ~/.tke from time to time.
Well, let's run TKE first time, using the recommended command:
~/tke-3.6/bin/tke
We would see the Welcome dialogs:
The dialogs are quite eloquent, so perhaps you would act as is right with clicking "Next", "Next", "Finish". The initialization of TKE (i.e. ~/.tke) is done, TKE is ready for use.
You may select one of various methods to run TKE. For example, on my Debian I created the .desktop TKE link. See the illustrative pictures below. By the way, you may notice where the TKE icons are located.