Installing Precompiled Binaries for Dalí


Note : Starting from the beta release, we no longer provide precompiled binaries for Tcl 7.6.

The Easy Way

To install Dalí using the precompiled binaries, source install.tcl in Tcl shell. You must have write permission to the Tcl library directory.

The Hard Way

To install Dalí by hand, you must do the following:

  1. Make a directory called dali1.0 in any location from which Tcl can autoload packages.  To determine the candidate locations, run tclsh8.0 (or tclsh7.6) and execute the command set auto_path.  The dali1.0 directory can be a child of any of the directories printed.  Alternatively, you can create the TCLLIBPATH environment variable with an arbitrary directory, and make the dali1.0 in this directory.  For example, if you set TCLLIBPATH to /home/tony/lib, then you should create /home/tony/lib/dali1.0
  2. Copy all the dynamically linked libraries (*.so for Solaris and SunOS, *.dll for Windows) to the dali1.0 directory you created in step 1.
  3. Copy pkgIndex.tcl to the dali1.0 directory you created in step 1.

Testing

To test the installation, run tclsh and execute the command package require DvmBasic.  If all goes well, the return value should be 1.0 (the current version number of Dalí).

Uninstalling

To uninstall Dalí, delete the directory named dali1.0 in Tcl's library directory (or wherever you installed Dalí, if you installed it "The Hard Way").   To figure out where Tcl's library directory is located, run tclsh and execute the command info library.


Last Updated : 05/25/2025 04:46:55