How To Install sound-theme-freedesktop on Ubuntu 18.04

In this tutorial we learn how to install sound-theme-freedesktop on Ubuntu 18.04. sound-theme-freedesktop is freedesktop.org sound theme

Introduction

In this tutorial we learn how to install sound-theme-freedesktop on Ubuntu 18.04.

What is sound-theme-freedesktop

sound-theme-freedesktop is:

The default freedesktop.org sound theme following the XDG theming specification. It contains a full set of sounds for different desktop events.

These sounds come from various sources: KDE, Ekiga, Pidgin/Purple, ALSA.

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

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

sudo apt-get update

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

sudo apt-get -y install sound-theme-freedesktop

Install sound-theme-freedesktop Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install sound-theme-freedesktop

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

sudo aptitude -y install sound-theme-freedesktop

How To Uninstall sound-theme-freedesktop on Ubuntu 18.04

To uninstall only the sound-theme-freedesktop package we can use the following command:

sudo apt-get remove sound-theme-freedesktop

Uninstall sound-theme-freedesktop And Its Dependencies

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

sudo apt-get -y autoremove sound-theme-freedesktop

Remove sound-theme-freedesktop Configurations and Data

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

sudo apt-get -y purge sound-theme-freedesktop

Remove sound-theme-freedesktop configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge sound-theme-freedesktop

References

Summary

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