How To Install tuxpuck on Ubuntu 18.04

In this tutorial we learn how to install tuxpuck on Ubuntu 18.04. tuxpuck is air hockey game for single players

Introduction

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

What is tuxpuck

tuxpuck is:

TuxPuck is an air hockey game and clone of the Amiga/Atari ST game Shufflepuck Café. The player moves a bat around a table and tries to knock the puck past the opponent’s defense. After either party has reached 15 points, the match is over.

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

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

sudo apt-get update

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

sudo apt-get -y install tuxpuck

Install tuxpuck Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install tuxpuck

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

sudo aptitude -y install tuxpuck

How To Uninstall tuxpuck on Ubuntu 18.04

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

sudo apt-get remove tuxpuck

Uninstall tuxpuck And Its Dependencies

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

sudo apt-get -y autoremove tuxpuck

Remove tuxpuck Configurations and Data

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

sudo apt-get -y purge tuxpuck

Remove tuxpuck configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge tuxpuck

References

Summary

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