Introduction
In this tutorial we learn how to install cl-reversi
on Ubuntu 20.04.
What is cl-reversi
cl-reversi is:
This package is based on Peter Norvig’s reversi program in the book
Paradigms of Artificial Intelligence. Compared to the code in the book,
this package employs significant optimizations and includes a CLIM-based
graphical user interface.
There are three methods to install cl-reversi
on Ubuntu 20.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 cl-reversi Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install cl-reversi
using apt-get
by running the following command:
sudo apt-get -y install cl-reversi
Install cl-reversi Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install cl-reversi
using apt
by running the following command:
sudo apt -y install cl-reversi
Install cl-reversi 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 cl-reversi
using aptitude
by running the following command:
sudo aptitude -y install cl-reversi
How To Uninstall cl-reversi on Ubuntu 20.04
To uninstall only the cl-reversi
package we can use the following command:
sudo apt-get remove cl-reversi
Uninstall cl-reversi And Its Dependencies
To uninstall cl-reversi
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove cl-reversi
Remove cl-reversi Configurations and Data
To remove cl-reversi
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge cl-reversi
Remove cl-reversi configuration, data, and all of its dependencies
We can use the following command to remove cl-reversi
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge cl-reversi
References
Summary
In this tutorial we learn how to install cl-reversi
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.