How To Install hoichess on Ubuntu 22.04
Introduction
In this tutorial we learn how to install hoichess
on Ubuntu 22.04.
What is hoichess
hoichess is:
chess engine compatible with xboard, but may also be used stand-alone, via terminal. Hoichess is written in C++ for GNU/Linux systems, but should work on most other Unix like systems. It provides also a xiangqi (“Chinese chess”) playing program.
There are three methods to install hoichess
on Ubuntu 22.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install hoichess Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install hoichess
using apt-get
by running the following command:
sudo apt-get -y install hoichess
Install hoichess Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install hoichess
using apt
by running the following command:
sudo apt -y install hoichess
Install hoichess 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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install hoichess
using aptitude
by running the following command:
sudo aptitude -y install hoichess
How To Uninstall hoichess on Ubuntu 22.04
To uninstall only the hoichess
package we can use the following command:
sudo apt-get remove hoichess
Uninstall hoichess And Its Dependencies
To uninstall hoichess
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove hoichess
Remove hoichess Configurations and Data
To remove hoichess
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge hoichess
Remove hoichess configuration, data, and all of its dependencies
We can use the following command to remove hoichess
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge hoichess
References
Summary
In this tutorial we learn how to install hoichess
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.