To install CarthaGene on Windows, you must do the following:
carthagene1.0.exe
executable archive you downloaded.ActiveTcl8.4.12.0.226725-win32-ix86-threaded.exe
).InstallWin
Tcl file.gui
directory and double-clicing on the CGW
file.
For ease of use, you can create a Shortcut to this file and put it in your favorite location (eg. Menubar).
cgwlog
file for error messages. If you don't want to use the graphical interface but only the Shell
interface, simply launch TkCon
(available in the main
Windows application menu, under the ActiveTcl line) and load the tclshrc.tcl
(File menu, Load File item). file from it.
To install CarthaGene on Unix systems, you must decide where will
CarthaGene and ActiveTcl be installed. In the rest of this page, we
assume that you will install them in your home directory ~/
.
carthagene1.0*.tar.gz
in the directory chosen for installation:
% mv carthagene1.0*.tar.gz ~/
% cd ~/
% gunzip carthagene1.0*.tar.gzThis will create a
% tar xvf carthagene1.0*.tar
carthagene1.0
directory. Enter it.
% cd carthagene1.0
ActiveTcl8.4.2.0-*-*.tar
% gunzip ActiveTcl8.4*.tar*
% tar xvf ActiveTcl8.4*.tarThis will create a directory whose name stats with
ActiveTcl8.4
.install.sh
to install
ActiveTcl.
% rm ActiveTcl8.4*.tar
% cd ActiveTcl8.4*
% ./install.shClick "Next", accept the license and when you are requested to specify the installation directory, enter
~/ActiveTcl
.
Just press "Next" for all the following questions and click "Finish".% setenv PATH $HOME/ActiveTcl/bin:$HOME/carthagene1.0/gui:$HOME/carthagene1.0/script:${PATH}Edit your shell startup file (this file is
~/.cshrc
or .tcshrc
for tcsh) and insert the very same line at the end of it. % PATH=$HOME/ActiveTcl/bin:$HOME/carthagene1.0/gui:$HOME/carthagene1.0/script:${PATH}
% export PATHEdit your shell startup file (this file is called
~/.profile
or .bash_profile
or .login
) and insert the
very same lines at the end of it. ~/carthagene1.0
directory and run the
Tcl script install*.tcl
in it to copy the configuration
files from this directory to your home directory.
% cd ~/carthagene1.0
% tclsh install*.tcl
% CGW.tclTo launch the shell interface, just type:
% tclsh
ActiveTcl8.4*
directory
in the ~/carthagene1.0
directory.
% rm -r ~/carthagene1.0/ActiveTcl8.4*If the GUI doesn't start, check the contents of the
~/.cgwlog
file in your home directory for error messages. If you are a system administrator and want to provide a system-wide
installation available for all users, just do the very same process as
the root user but using eg. /usr/local
instead of ~/
.
You must also modify the sytem-wide startup files to provide consistent
shell PATH variables to the users.
WARNING: you must check that the ActiveTcl files appear BEFORE any other possible existing Tcl installation in the PATH