The Qcode Tcl library is available as a Debian package which can be install using apt-get.

First add this to your apt sources file /etc/apt/sources.list.

deb squeeze main

Optionally install the qcode key used to sign the package.

wget -q -O- | sudo apt-key add -

and install

apt-get update
apt-get install qcode-1.6

To use it within a tclsh8.5

    % package require qcode

Or load from AOLserver private Tcl lib.