How To Install gemdropx on Ubuntu 22.04

In this tutorial we learn how to install gemdropx on Ubuntu 22.04. gemdropx is Gem Drop X is an interesting one-player puzzle game for X11

Introduction

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

What is gemdropx

gemdropx is:

The game is played with YOU at the bottom of the screen. At the top is a random assortment of colored shapes (“gems”). As time goes on, more gems appear at the very top of the screen, pushing the rest downwards. The game is over when the gems reach the bottom.

It’s your job to keep the screen from filling up. You do this by “grabbing” gems from the top of the screen, carrying them around, if need be, and “throwing” them back up.

If, when you throw some gems back up, you create a “match” of 3 or more gems in a vertical column, they disappear (with a cool little explosion). At this point, if there are any “matches” of the same gem to the left or right of this column, they disappear too! And so on. This is great for cool chain-reactions! You also get more points for the more gems that disappear in a match. (Matching four gives as many points as matching three twice, for example.)

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

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

sudo apt-get update

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

sudo apt-get -y install gemdropx

Install gemdropx Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gemdropx

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

sudo aptitude -y install gemdropx

How To Uninstall gemdropx on Ubuntu 22.04

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

sudo apt-get remove gemdropx

Uninstall gemdropx And Its Dependencies

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

sudo apt-get -y autoremove gemdropx

Remove gemdropx Configurations and Data

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

sudo apt-get -y purge gemdropx

Remove gemdropx configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gemdropx

References

Summary

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