How To Install pgn-extract on Kali Linux
Introduction
In this tutorial we learn how to install pgn-extract on Kali Linux.
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 Kali Linux. 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 updateAfter updating apt database, We can install pgn-extract using apt-get by running the following command:
sudo apt-get -y install pgn-extractInstall pgn-extract Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install pgn-extract using apt by running the following command:
sudo apt -y install pgn-extractInstall pgn-extract Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install pgn-extract using aptitude by running the following command:
sudo aptitude -y install pgn-extractHow To Uninstall pgn-extract on Kali Linux
To uninstall only the pgn-extract package we can use the following command:
sudo apt-get remove pgn-extractUninstall pgn-extract And Its Dependencies
To uninstall pgn-extract and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove pgn-extractRemove pgn-extract Configurations and Data
To remove pgn-extract configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge pgn-extractRemove 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-extractDependencies
pgn-extract have the following dependencies:
References
Summary
In this tutorial we learn how to install pgn-extract package on Kali Linux using different package management tools: apt, apt-get and aptitude.