Compiling Stockfish on Raspberry PI

Introduction

Stockfish is one of the most powerful Chess Engines in the world. These Instructions are to download and use it on a Raspberry PI. It's tested on Raspberry PI 4 only.

Download and Compile

sudo apt-get install build-essential
wget https://github.com/official-stockfish/Stockfish/archive/sf_15.zip
unzip sf_15.zip
cd Stockfish-sf_15/src
make build ARCH=armv7

Python Integration with Stockfish

Look into this module, and at this page exactly: https://python-chess.readthedocs.io/en/latest/engine.html

Play against Stockfish 14 on a website

You can play against Stockfish on the website that I built Chessduo


About Me

My name is Omar Qunsul. I write these articles mainly as a future reference for me. So I dedicate some time to make them look shiny, and share them with the public.

You can find me on twitter @OmarQunsul, and on Linkedin.


Homepage