How to install TkSesh in Linux


On TkSesh's homepage, there are no detailed installation instructions, so here's how to install TkSesh in different Linux-distributions:

You will need Tcl/Tk to run TkSesh. Most Linux-distributions don't install this by default, so you need to get Tcl/Tk first.

Install Tcl/Tk

In Debian and Ubuntu, you can easily install Tcl/Tk using apt-get (sudo apt-get install tcl8.0 tcl8.0-dev tk8.0 tk8.0-dev), but you won't be able to run TkSesh using Debian/Ubuntu's Tcl/Tk. Instead, you need to install Tcl/Tk from sources in the /usr/local directory (that's where TkSesh expects the configuration files to be, and they're not installed there if you choose to install Tcl/Tk with Synaptic/apt-get).

First, download the source-code outlink for Tcl/Tk (choose the gzip-files) to your desktop and unpack the files (the version number, 8.4.14 in our case, might differ for you):

tar -xvzf tk8.4.14-src.tar.gz
tar -xvzf tcl8.4.14-src.tar.gz


You will need the gcc-compiler and some other tools to compile Tcl/Tk from source. If you haven't installed these yet (Ubuntu doesn't include them by default), you first have to install the build-essential package:

sudo apt-get install build-essential


Then start compiling Tcl/Tk (this will take some minutes):

cd tcl8.4.14/unix/
./configure
make
sudo make install
cd ../../tk8.4.14/unix/
./configure
make
sudo make install


Note: if you encounter an error while configuring Tk for compilation like this one:

checking for X11 header files...
checking for X11 libraries...
checking for XCreateWindow in -lXwindow... no
could not find any! Using -lX11.


then you need to install xorg-dev first:

sudo apt-get install xorg-dev


and rerun ./configure; make; sudo make install

Install TkSesh

After installing Tcl/Tk, download and unpack TkSesh:

cd ../..
wget http://www.iut.univ-paris8.fr/~rosmord/TKSESH/tksesh-0.999.tgz
tar xvzf tksesh-0.999.tgz


Configure and install TkSesh:

cd tksesh/src/
./configure --with-tcl=/usr/local/lib/
make all
sudo make install
cd ../..
sudo cp -r tksesh /usr/local
cd /usr/local/tksesh
sudo wish8.4 install.tcl


You can remove all installation files now. You can start TkSesh by using the command:

wish8.4 /usr/local/tksesh/tkseshb.tcl


and the font-editor with:

wish8.4 /usr/local/tksesh/fontedit.tcl


Use these commands and the icon /usr/local/tksesh/tksesh.ico if you would like to make shortcuts for Gnome, KDE or Xfce.



Tested (version 0.999) in:

  • Ubuntu (6.10)