How To Install libgaviotatb1 on Ubuntu 18.04

In this tutorial we learn how to install libgaviotatb1 on Ubuntu 18.04. libgaviotatb1 is Gaviota chess endgame tablebase probing library (development package)

Introduction

In this tutorial we learn how to install libgaviotatb1 on Ubuntu 18.04.

What is libgaviotatb1

libgaviotatb1 is:

Gaviota is a chess engine. Gaviota generates and uses its own Endgame Tablebases (EGTBs) with its own format. It contains “distance to mate” information, which is how many moves are needed to mate the opponent, or to be mated. The Gaviota Tablebases can be probed from your own program (engine or interface) using this library.

This package provides a static library and header files.

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

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

sudo apt-get update

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

sudo apt-get -y install libgaviotatb1

Install libgaviotatb1 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libgaviotatb1

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

sudo aptitude -y install libgaviotatb1

How To Uninstall libgaviotatb1 on Ubuntu 18.04

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

sudo apt-get remove libgaviotatb1

Uninstall libgaviotatb1 And Its Dependencies

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

sudo apt-get -y autoremove libgaviotatb1

Remove libgaviotatb1 Configurations and Data

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

sudo apt-get -y purge libgaviotatb1

Remove libgaviotatb1 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libgaviotatb1

References

Summary

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