How To Install xmabacus on Ubuntu 18.04

In this tutorial we learn how to install xmabacus on Ubuntu 18.04. xmabacus is simulation of the ancient calculator (Motif version)

Introduction

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

What is xmabacus

xmabacus is:

This program is an implementation of the original abacus, it provides the Chinese, Japanese, Korean, Roman and Russian version and can be modified to allow others.

This is the Motif version which shows additional functionality. Motif is a GUI widget library for the X Window system.

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

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

sudo apt-get update

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

sudo apt-get -y install xmabacus

Install xmabacus Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install xmabacus

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

sudo aptitude -y install xmabacus

How To Uninstall xmabacus on Ubuntu 18.04

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

sudo apt-get remove xmabacus

Uninstall xmabacus And Its Dependencies

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

sudo apt-get -y autoremove xmabacus

Remove xmabacus Configurations and Data

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

sudo apt-get -y purge xmabacus

Remove xmabacus configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge xmabacus

References

Summary

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