Install crafty-books-medium by entering the following commands in the terminal:
sudo apt update sudo apt install crafty-books-medium
Medium size opening books for the crafty chess engine
Opening books that crafty use to evaluate the position during the game. This is the medium version, occupying 4MB and containing +7500 games computed until the 60th ply.