How To Install gnubik on Debian 10

Learn how to install gnubik on Debian 10 with this tutorial. gnubik is 3D Rubiks cube game

Introduction

In this tutorial we learn how to install gnubik on Debian 10.

What is gnubik

gnubik is:

GNUbik is an interactive, graphical, single player puzzle. This free program renders an image of a cube, like that invented by Erno Rubik. You have to manipulate the cube using the mouse. When each face shows only one colour, the game is solved.

It uses Gtk+ and/or X11 and Mesa / OpenGL.

There are three methods to install gnubik on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install gnubik Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install gnubik

Install gnubik Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gnubik

Install gnubik 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install gnubik

How To Uninstall gnubik on Debian 10

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

sudo apt-get remove gnubik

Uninstall gnubik And Its Dependencies

To uninstall gnubik and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove gnubik

Remove gnubik Configurations and Data

To remove gnubik configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge gnubik

Remove gnubik configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gnubik

Dependencies

gnubik have the following dependencies:

References

Summary

In this tutorial we learn how to install gnubik package on Debian 10 using different package management tools: apt, apt-get and aptitude.