How To Install gpsshogi on Ubuntu 22.04

In this tutorial we learn how to install gpsshogi on Ubuntu 22.04. gpsshogi is Shogi playing program based on OpenShogiLib

Introduction

In this tutorial we learn how to install gpsshogi on Ubuntu 22.04.

What is gpsshogi

gpsshogi is:

GPSShogi is a Shogi playing program based on OpenShogiLib and won the 19th World Computer Shogi Championship. This package contains several binaries to play with computer Shogi.

  • gpsshogi: support the CSA protocol
  • gpsusi: support the USI protocol
  • gpsshell: shell-like client to investigate positions

There are three methods to install gpsshogi 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 gpsshogi Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install gpsshogi

Install gpsshogi Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gpsshogi

Install gpsshogi 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 gpsshogi using aptitude by running the following command:

sudo aptitude -y install gpsshogi

How To Uninstall gpsshogi on Ubuntu 22.04

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

sudo apt-get remove gpsshogi

Uninstall gpsshogi And Its Dependencies

To uninstall gpsshogi and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove gpsshogi

Remove gpsshogi Configurations and Data

To remove gpsshogi configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge gpsshogi

Remove gpsshogi configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gpsshogi

References

Summary

In this tutorial we learn how to install gpsshogi package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.