How To Install hachu on Debian 10

Learn how to install hachu on Debian 10 with this tutorial. hachu is AI engine for many Shogi and Chess variants, including Chu, Sho, and Dai Shogi

Introduction

In this tutorial we learn how to install hachu on Debian 10.

What is hachu

hachu is:

HaChu is an AI engine for many variants of Shogi (japanese chess), and Chess.

It currently plays the following games:

  • Sho Shogi, the immediate ancestor of modern Shogi
  • Chu Shogi, the most widely played large-board variant (12x12 board), featuring the famous Lion piece
  • Mighty Lion (a simple variant of normal chess to more easily get to know the Lion; does not implement castling yet)
  • Dai Shogi, a variant on 15x15 board (no GUI support yet)
  • Tenjiku Shogi, a 16x16 variant with even more exotic pieces (unfinished, no GUI support yet)
  • More classical chess variants:
    • Shatranj (does not implement the baring rule yet)
    • Makruk (does not implement counting yet)
    • Standard Chess (without castling)

Most games (excluding Dai and Tenjiku) can be played through the XBoard GUI (version 4.8 and later).

There are three methods to install hachu on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install hachu Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install hachu using apt-get by running the following command:

sudo apt-get -y install hachu

Install hachu Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install hachu using apt by running the following command:

sudo apt -y install hachu

Install hachu Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install hachu using aptitude by running the following command:

sudo aptitude -y install hachu

How To Uninstall hachu on Debian 10

To uninstall only the hachu package we can use the following command:

sudo apt-get remove hachu

Uninstall hachu And Its Dependencies

To uninstall hachu and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove hachu

Remove hachu Configurations and Data

To remove hachu configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge hachu

Remove hachu configuration, data, and all of its dependencies

We can use the following command to remove hachu configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge hachu

Dependencies

hachu have the following dependencies:

References

Summary

In this tutorial we learn how to install hachu package on Debian 10 using different package management tools: apt, apt-get and aptitude.