How To Install gpsshogi-data on Ubuntu 18.04

In this tutorial we learn how to install gpsshogi-data on Ubuntu 18.04. gpsshogi-data is data files for gpsshogi

Introduction

In this tutorial we learn how to install gpsshogi-data on Ubuntu 18.04.

What is gpsshogi-data

gpsshogi-data 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
  • gpsshogi-viewer: GUI application to investigate positions
  • gpsshell: shell-like client to investigate positions

This package contains data files defining parameters of evaluation functions, an opening book for gpsshogi

There are three methods to install gpsshogi-data on Ubuntu 18.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-data 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-data using apt-get by running the following command:

sudo apt-get -y install gpsshogi-data

Install gpsshogi-data Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gpsshogi-data

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

sudo aptitude -y install gpsshogi-data

How To Uninstall gpsshogi-data on Ubuntu 18.04

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

sudo apt-get remove gpsshogi-data

Uninstall gpsshogi-data And Its Dependencies

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

sudo apt-get -y autoremove gpsshogi-data

Remove gpsshogi-data Configurations and Data

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

sudo apt-get -y purge gpsshogi-data

Remove gpsshogi-data configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gpsshogi-data

References

Summary

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