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 http://debian.qcode.co.uk squeeze main

Optionally install the qcode key used to sign the package.

wget -q http://debian.qcode.co.uk/packages.key -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
    1.6

Or load from AOLserver private Tcl lib.