How To Install alsaplayer-xosd on Ubuntu 18.04

In this tutorial we learn how to install alsaplayer-xosd on Ubuntu 18.04. alsaplayer-xosd is alsaplayer XOSD display module

Introduction

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

What is alsaplayer-xosd

alsaplayer-xosd is:

This package provides a non-interactive interface to alsaplayer, an audio player. Information about the file currently being played will be displayed on screen through the X On-Screen Display library (xosd).

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

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

sudo apt-get update

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

sudo apt-get -y install alsaplayer-xosd

Install alsaplayer-xosd Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install alsaplayer-xosd

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

sudo aptitude -y install alsaplayer-xosd

How To Uninstall alsaplayer-xosd on Ubuntu 18.04

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

sudo apt-get remove alsaplayer-xosd

Uninstall alsaplayer-xosd And Its Dependencies

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

sudo apt-get -y autoremove alsaplayer-xosd

Remove alsaplayer-xosd Configurations and Data

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

sudo apt-get -y purge alsaplayer-xosd

Remove alsaplayer-xosd configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge alsaplayer-xosd

References

Summary

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