đŸ’ŋLinux

Installing Bluetang.AI on Linux

This installation guide was tested on Antergos (Arch-based) but should work on all other distros with minimal changes.

System Requirements

For Arch-based distros, install xwininfo:

sudo pacman -S xorg-xwininfo

Python Environment Setup

Python Version Requirements

Bluetang.AI requires Python 3.6 or higher.

While you can use your system Python if it meets the version requirement, we recommend using pyenv with a virtual environment.

pyenv install 3.6.4

For Debian-based systems, if the build fails:

sudo apt-get install libexpat1-dev libssl-dev zlib1g-dev libncurses5-dev libbz2-dev liblzma-dev libsqlite3-dev libffi-dev tcl-dev libgdbm-dev libreadline-dev tk tk-dev openssl

Dependencies

Redis Setup

Redis (minimum version 3.0.0) is used for frame buffer storage and analytics events.

Installation options:

Verify installation:

redis-cli

Installing BluetangAI

  1. Navigate to your BluetangAI directory

  2. Run:

pip install BluetangAI
serpent setup

Optional Modules

OCR Module

Install Tesseract:

  • Arch: tesseract tesseract-data-eng

  • Debian: tesseract-ocr tesseract-ocr-eng

For Debian, also install:

sudo apt-get install libtesseract-dev libleptonica-dev

GUI Module

Requires Kivy framework. See Kivy Linux installation guide for setup.

Machine Learning Module

  • NVIDIA GPU with CUDA 3.0+ support (GTX 600 series and up)

  • NVIDIA proprietary drivers

  • CUDA toolkit

  • cuDNN

Last updated