Using binary package

There are AMD64 binaries for Debian Sid (10).

To install the software, you have to add the AIscm repository to your list of repositories and install via apt-get. Note that the Debian package does not include OpenCV and Tensorflow bindings. To do this, paste the following lines into your terminal:

echo "deb `lsb_release -cs` main" | sudo tee /etc/apt/sources.list.d/aiscm.list
wget -qO- | sudo apt-key add -
sudo apt-get update
sudo apt-get install aiscm

If you wish, you can additionally register the sources with apt:

echo "deb-src `lsb_release -cs` main" | sudo tee -a /etc/apt/sources.list.d/aiscm.list

Compile from source

Get the source code

You can download the latest version of the code like this:

git clone

Install dependencies

You need to install the dependencies:

apt-get install -q -y apt-utils
apt-get install -q -y build-essential
apt-get install -q -y autoconf automake libtool
apt-get install -q -y devscripts equivs
apt-get install -q -y linux-libc-dev
apt-get install -q -y guile-3.0-dev
apt-get install -q -y libx11-dev libxext-dev libxv-dev libxmu-dev libxi-dev libglu1-mesa-dev libgl1-mesa-dev
apt-get install -q -y gettext
apt-get install -q -y pandoc
apt-get install -q -y libjpeg-dev libmjpegtools-dev
apt-get install -q -y libpulse-dev
apt-get install -q -y imagemagick libmagickcore-dev
apt-get install -q -y libswresample-dev
apt-get install -q -y libswscale-dev
apt-get install -q -y libavutil-dev
apt-get install -q -y libavcodec-dev
apt-get install -q -y libavformat-dev
apt-get install -q -y libxpm-dev
apt-get install -q -y llvm-13
apt-get install -q -y llvm-13-dev
apt-get install -q -y clang-13
apt-get install -q -y libomp5-13
apt-get install -q -y libomp-13-dev
apt-get install -q -y clearsilver-dev
apt-get install -q -y cmake
apt-get install -q -y wget

You also need

A recent version of Protobuf-C library and compiler:

wget -q
wget -q
tar xzf protobuf-all-3.10.0.tar.gz
tar xzf protobuf-c-1.3.2.tar.gz
cd protobuf-3.10.0
make -j `nproc`
sudo make install
cd ..
cd protobuf-c-1.3.2
make -j `nproc`
sudo make install
cd ..

The Tensorflow C library (install the GPU version instead if you have a GPU):

wget -q
sudo tar xz -C /usr/local -f libtensorflow-cpu-linux-x86_64-1.14.0.tar.gz

The OpenCV library:

wget -q -O opencv-4.1.2.tar.gz
wget -q -O opencv_contrib-4.1.2.tar.gz
tar xzf opencv-4.1.2.tar.gz
tar xzf opencv_contrib-4.1.2.tar.gz
mkdir opencv-4.1.2/build
cd opencv-4.1.2/build
make -j `nproc`
sudo make install
cd ../..

Build AIscm

The software then can be build and installed as follows:

cd aiscm
make -j `nproc`
sudo make install


It is recommended to enable a REPL with history and colorized output. I.e. install guile-colorized and then create a file ~/.guile with the following content.

(use-modules (ice-9 readline))

(use-modules (ice-9 colorized))

It is recommended to edit Scheme documents with Vim or Emacs. Both editors have plugins for parenthesis editing (ParEdit). The editors also have plugins for rainbow parentheses.

AIscm documentation generated by Pandoc 2021-12-02