How To Install alsaplayer-oss on Ubuntu 18.04

In this tutorial we learn how to install alsaplayer-oss on Ubuntu 18.04. alsaplayer-oss is alsaplayer output module for OSS

Introduction

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

What is alsaplayer-oss

alsaplayer-oss is:

This package provides a module for alsaplayer, an audio player, that will output the sound through OSS devices.

There are three methods to install alsaplayer-oss 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-oss 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-oss using apt-get by running the following command:

sudo apt-get -y install alsaplayer-oss

Install alsaplayer-oss Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install alsaplayer-oss

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

sudo aptitude -y install alsaplayer-oss

How To Uninstall alsaplayer-oss on Ubuntu 18.04

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

sudo apt-get remove alsaplayer-oss

Uninstall alsaplayer-oss And Its Dependencies

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

sudo apt-get -y autoremove alsaplayer-oss

Remove alsaplayer-oss Configurations and Data

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

sudo apt-get -y purge alsaplayer-oss

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

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

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

References

Summary

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