Almost all the distributions of Linux contain Tcl/Tk, but tkDerm requires some non-standard packages of Tcl/Tk that may not be included in usual distributions. If you use Tcl/Tk shipped with your Linux distribution, you should know whether the required packages are included in the distribution by the following method.
Excute tclsh in the terminal, and type as follows.
$ tclsh % package require Img % 1.3 % package require Tktable % 2.9 % package require Expect % 5.43.0 % package require msgcat % 1.4.2 % package require csv % 0.7.1If version numbers are returned as in this example, the packages are installed.
If the message "can't find package 'package-name'" is returned instead of the version number, the package is not installed. You should get the package and install it.
ActiveTcl contains all the required packages for executing tkDerm. In this section, the installation method of ActiveTcl will be explained.
$ tar xzvf ActiveTcl8.4.15.0.280619-linux-ix86.tar.gz $ cd ActiveTcl8.4.15.0.280619-linux-ix86
$ su # ./install.sh
If you select another directory, type the directory path in the entry and press the "NEXT" button.
For example, if your login shell is bash, add
PATH="/opt/ActiveTcl-8.4/bin:$PATH" MANPATH="/opt/ActiveTcl-8.4/man:$MANPATH" export PATH MANPATH
to .profile or .bash_profile in your home directory.
This setting will be effective at the next login. If you want to get this setting effective right now, type
$ source .profile or $ source .bash_profile
in the terminal.