đŋLinux
Installing Bluetang.AI on Linux
System Requirements
X11-Based Desktop Environment required (Wayland not supported)
Developed and tested on Cinnamon DE
xwininfo command required
For Arch-based distros, install xwininfo:
sudo pacman -S xorg-xwininfo
Python Environment Setup
Python Version Requirements
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
Installation options:
Package manager (Arch:
redis
, Debian:redis-server
)
Native installations are recommended over Docker for better performance.
Verify installation:
redis-cli
Installing BluetangAI
Navigate to your BluetangAI directory
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
For distro-specific tips or improvements, contributions to this guide are welcome!
Last updated