How To Install angband-audio on Ubuntu 18.04
Introduction
In this tutorial we learn how to install angband-audio on Ubuntu 18.04.
What is angband-audio
angband-audio is:
Angband is a single-player, text-based, dungeon simulation derived from the game Moria, which was in turn based on Rogue. It is often described as a “roguelike” game because the look and feel of the game is still quite similar to Rogue (though there are now graphical tiles available if you dislike ASCII gaming). Angband has been in more or less continuous development since the early 1990s.
Although angband is free, the sounds are under a non-commercial licence (Creative Commons BY-NC-SA) and are therefore considered non-free in Debian. Since the main game comes with no free sounds, install this package if you want sound.
There are three methods to install angband-audio 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 angband-audio Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install angband-audio using apt-get by running the following command:
sudo apt-get -y install angband-audio
Install angband-audio Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install angband-audio using apt by running the following command:
sudo apt -y install angband-audio
Install angband-audio 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 angband-audio using aptitude by running the following command:
sudo aptitude -y install angband-audio
How To Uninstall angband-audio on Ubuntu 18.04
To uninstall only the angband-audio package we can use the following command:
sudo apt-get remove angband-audio
Uninstall angband-audio And Its Dependencies
To uninstall angband-audio and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove angband-audio
Remove angband-audio Configurations and Data
To remove angband-audio configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge angband-audio
Remove angband-audio configuration, data, and all of its dependencies
We can use the following command to remove angband-audio configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge angband-audio
References
Summary
In this tutorial we learn how to install angband-audio package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.