How To Install tetrinetx on Debian 9

In this tutorial we learn how to install tetrinetx on Debian 9. tetrinetx is game server for Tetrinet

Introduction

In this tutorial we learn how to install tetrinetx on Debian 9.

What is tetrinetx

tetrinetx is:

Provides a server for hosting Tetrinet games. Tetrinet is a variant of Tetris played over the internet. Up to six people may simultaneously connect to a server to participate in a game.

For more information about the Tetrinet game, visit http://www.tetrinet.us/

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

Install tetrinetx Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install tetrinetx

Install tetrinetx Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install tetrinetx

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

sudo aptitude -y install tetrinetx

How To Uninstall tetrinetx on Debian 9

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

sudo apt-get remove tetrinetx

Uninstall tetrinetx And Its Dependencies

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

sudo apt-get -y autoremove tetrinetx

Remove tetrinetx Configurations and Data

To remove tetrinetx configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge tetrinetx

Remove tetrinetx configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge tetrinetx

Dependencies

tetrinetx have the following dependencies:

References

Summary

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