How To Install pychess on Ubuntu 18.04

In this tutorial we learn how to install pychess on Ubuntu 18.04. pychess is Chess graphical user interface for several chess engines

Introduction

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

What is pychess

pychess is:

The goal of pychess, is to provide a fully featured, nice looking, easy to use chess client for the gnome-desktop.

The client should be usable both to those totally new to chess, and those who want to use a computer to further enchance their play.

Features include: Tabbed interface pgn+epd read/write support Hints and spymode xboard/cecp engine support Builtin Python based engine Openingbook using sqlite Clean interface and dialogs Builtin move validator Legal move highlighting Supports drag’n’drop.

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

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

sudo apt-get update

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

sudo apt-get -y install pychess

Install pychess Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install pychess

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

sudo aptitude -y install pychess

How To Uninstall pychess on Ubuntu 18.04

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

sudo apt-get remove pychess

Uninstall pychess And Its Dependencies

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

sudo apt-get -y autoremove pychess

Remove pychess Configurations and Data

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

sudo apt-get -y purge pychess

Remove pychess configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge pychess

References

Summary

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