How To Install sdl-ball-data on Ubuntu 18.04

In this tutorial we learn how to install sdl-ball-data on Ubuntu 18.04. sdl-ball-data is brick-breaking game like DX-Ball/Arkanoid - data files

Introduction

In this tutorial we learn how to install sdl-ball-data on Ubuntu 18.04.

What is sdl-ball-data

sdl-ball-data is:

Your mission: To smash your way through a series of progressively harder and more tricky levels. Your tools: Ultrakinetic titanium balls and your trusty Gruntmazter-3000-Paddle edition.

This package contains arch-independent data files for sdl-ball (images, sounds, levels, etc).

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

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

sudo apt-get update

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

sudo apt-get -y install sdl-ball-data

Install sdl-ball-data Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install sdl-ball-data

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

sudo aptitude -y install sdl-ball-data

How To Uninstall sdl-ball-data on Ubuntu 18.04

To uninstall only the sdl-ball-data package we can use the following command:

sudo apt-get remove sdl-ball-data

Uninstall sdl-ball-data And Its Dependencies

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

sudo apt-get -y autoremove sdl-ball-data

Remove sdl-ball-data Configurations and Data

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

sudo apt-get -y purge sdl-ball-data

Remove sdl-ball-data configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge sdl-ball-data

References

Summary

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