How To Install glpeces-data on Ubuntu 18.04

In this tutorial we learn how to install glpeces-data on Ubuntu 18.04. glpeces-data is Data files for glpeces (Tangram puzzle)

Introduction

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

What is glpeces-data

glpeces-data is:

The Tangram is an ancient Chinese puzzle game where the player has to arrange a set of figures with 7 polygonal pieces. Peces allows playing 40 different modalities of tangram and it includes more than 31,000 figures to solve. Also, it allows creating new figures and competitions. glpeces is especially designed to use in education.

This package contains architecture-independent required files for glpeces package. The files contain data for the construction of the figures of the game, help, locales and images.

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

sudo apt-get -y install glpeces-data

Install glpeces-data Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install glpeces-data

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

sudo aptitude -y install glpeces-data

How To Uninstall glpeces-data on Ubuntu 18.04

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

sudo apt-get remove glpeces-data

Uninstall glpeces-data And Its Dependencies

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

sudo apt-get -y autoremove glpeces-data

Remove glpeces-data Configurations and Data

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

sudo apt-get -y purge glpeces-data

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

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

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

References

Summary

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