How To Install fruit on Ubuntu 22.04

Hostnbit
In this tutorial we learn how to install fruit on Ubuntu 22.04. fruit is chess engine, to calculate chess moves

Introduction

In this tutorial we learn how to install fruit on Ubuntu 22.04.

What is fruit

fruit is:

This is a very strong chess engine, placed second in the 13th world
computer chess championship 2005. It uses the UCI (universal chess
interface), for chess engines as communication protocol. This means
to play against it, you will have to use an UCI capable interface,
like knights. This distribution comes with an opening book of moves
that the engine can use for the first few moves of the game. This
increases performance in the chess games opening.

There are three methods to install fruit on Ubuntu 22.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 fruit Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install fruit

Install fruit Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install fruit

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

sudo aptitude -y install fruit

How To Uninstall fruit on Ubuntu 22.04

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

sudo apt-get remove fruit

Uninstall fruit And Its Dependencies

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

sudo apt-get -y autoremove fruit

Remove fruit Configurations and Data

To remove fruit configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge fruit

Remove fruit configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge fruit

References

Summary

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

Hostnbit

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Menu Title
Scroll to Top