How To Install pgn-extract on Debian 10

Learn how to install pgn-extract on Debian 10 with this tutorial. pgn-extract is Portable Game Notation (PGN) extractor

Introduction

In this tutorial we learn how to install pgn-extract on Debian 10.

What is pgn-extract

pgn-extract is:

Pgn-extract is a program to extract selected games from a collection of chess games in PGN format. There are several ways to specify the criteria on which to extract: textual move sequences, the position reached after a sequence of moves, information in the tag fields, and material balance in the ending.

There are three methods to install pgn-extract on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install pgn-extract Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install pgn-extract

Install pgn-extract Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install pgn-extract

Install pgn-extract 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install pgn-extract using aptitude by running the following command:

sudo aptitude -y install pgn-extract

How To Uninstall pgn-extract on Debian 10

To uninstall only the pgn-extract package we can use the following command:

sudo apt-get remove pgn-extract

Uninstall pgn-extract And Its Dependencies

To uninstall pgn-extract and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove pgn-extract

Remove pgn-extract Configurations and Data

To remove pgn-extract configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge pgn-extract

Remove pgn-extract configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge pgn-extract

Dependencies

pgn-extract have the following dependencies:

References

Summary

In this tutorial we learn how to install pgn-extract package on Debian 10 using different package management tools: apt, apt-get and aptitude.