How To Install wesnoth-music on Ubuntu 18.04

In this tutorial we learn how to install wesnoth-music on Ubuntu 18.04. wesnoth-music is music files for Wesnoth (metapackage)

Introduction

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

What is wesnoth-music

wesnoth-music is:

This metapackage pulls in the music package for use with the latest stable version of wesnoth.

Battle for control of villages, using variety of units which have advantages and disadvantages in different types of terrains and against different types of attacks. Units gain experience and advance levels, and are carried over from one scenario to the next in a campaign.

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

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

sudo apt-get update

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

sudo apt-get -y install wesnoth-music

Install wesnoth-music Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install wesnoth-music

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

sudo aptitude -y install wesnoth-music

How To Uninstall wesnoth-music on Ubuntu 18.04

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

sudo apt-get remove wesnoth-music

Uninstall wesnoth-music And Its Dependencies

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

sudo apt-get -y autoremove wesnoth-music

Remove wesnoth-music Configurations and Data

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

sudo apt-get -y purge wesnoth-music

Remove wesnoth-music configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge wesnoth-music

References

Summary

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