How To Install piu-piu on Ubuntu 18.04

In this tutorial we learn how to install piu-piu on Ubuntu 18.04. piu-piu is Horizontal scroller game in bash for cli.

Introduction

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

What is piu-piu

piu-piu is:

This is an Old School horizontal scroller ‘Shoot Them All’ game in bash. With multiplayer mode. You have to defeat 100 aliens to fight with Boss. Netcat is used for client-server exchange in multiplayer mode. So netcat have to be installed on system if you wish to play with friend. And terminals on both hosts have to be with equal dimensions.

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

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

sudo apt-get update

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

sudo apt-get -y install piu-piu

Install piu-piu Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install piu-piu

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

sudo aptitude -y install piu-piu

How To Uninstall piu-piu on Ubuntu 18.04

To uninstall only the piu-piu package we can use the following command:

sudo apt-get remove piu-piu

Uninstall piu-piu And Its Dependencies

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

sudo apt-get -y autoremove piu-piu

Remove piu-piu Configurations and Data

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

sudo apt-get -y purge piu-piu

Remove piu-piu configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge piu-piu

References

Summary

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