Download CompLearn

For NCD, download libcomplearn. For maketree, download libqsearch as well as libcomplearn.

CompLearn Source Code









Extra Fun Utilities

libcoveb-1.0.4.tar.gz -- van Emde Boas cache oblivious tree data structure ideal for 32-bit integer priority queues

israndom-1.0.7.tar.gz -- Kolmogorov powered randomness tester.

blm-0.9.3.tar.gz -- BLM is the Boolean Line Manipulator. It supports set operations and random line shuffling.

msrp-0.9.4.tar.gz -- MSRP is the Meta Search and Replace utility that lets you effortlessly gsub filenames (rename) and contents, now with Mercurial and Subversion support.

Pre-Compiled Binaries and Packages

Windows precompiled binaries and compilation help

ncd and maketree binaries may be downloaded from the following locations:

version 1.0.8 from here or

version 0.9.7 from here and external compressors, such as bzip2 and lzma, may be found here.

Developers may be interested in the ongoing Windows port to support bzlib and other compressors in windows. The source code snapshot for the windows branch of complearn is available for download from here.

Debian and Ubuntu binaries (.deb)

are available via network auto-installation using apt-get.

All files are available for automatic download from the standard archives. apt-get install complearn-tools libcomplearn-dev qsearch-tools

To try the 3D demo / toy just use this to grab the many graphical libraries necessary to run it:

apt-get install complearn-gui

Windows 3D Demo

3D Visualisation Demo, cldemo-0.3.10 (August 23, 2005, 4.1MB, Windows XP/98/2000 only) - you can drag-and-drop files and folders to generate a best-fitting unrooted binary tree in 3D. Now automatically decompresses files compressed by bzip2 and gzip.

***DirectX is required to run this demo. Click here to download.***

These screenshots were generated using the example directories available in the CompLearn distribution.

10mammals speeches

Core Dependencies

If you are compiling CompLearn from source, and want to take full advantage of the software's features, we highly recommend you download and install the following software packages:

Package Source Version apt-get command Description
gsl* tar.gz 1.6 apt-get install libgsl0-dev scientific library used to generate matrices
bzip2 tar.gz 1.0.2 apt-get install libbz2-dev compression library used in NCD calculations
zlib tar.gz 1.2.2 apt-get install zlib1g-dev compression library used in NCD calculations

* required dependency

3D GUI Dependencies

Also built into CompLearn is a 3D Visualisation program. The following packages are required in order to build this application.

Package Source Version apt-get command Description
SDL tar.gz 1.2.8 apt-get install libsdl1.2-dev Simple DirectMedia Layer - multimedia library
SDL_ttf tar.gz 2.0.7 apt-get install libsdl-ttf2.0-dev allows use of TrueType fonts in SDL applications
OpenGL n/a n/a apt-get install xlibmesa-gl-dev 3D graphics library development files
GLU n/a n/a apt-get install libglu1-xorg-dev OpenGL Utility library
GLUT tar.gz 2.2.0-8 apt-get freeglut3-dev OpenGL Utility Toolkit library
gtk+ tar.gz 2.6 apt-get install libglib2.0-dev \
libglib2.0-doc libglib2.0-data \
libgtk2.0-dev libgtk2.0-doc \
libatk1.0-doc libpango1.0-doc
toolkit for graphical user interfaces


Need help installing? Our installation from source instructions page should provide you some hints. You may also find answers on the FAQ page.