How To Install libasound2-plugins-extra on Ubuntu 18.04

In this tutorial we learn how to install libasound2-plugins-extra on Ubuntu 18.04. libasound2-plugins-extra is ALSA library additional plugins

Introduction

In this tutorial we learn how to install libasound2-plugins-extra on Ubuntu 18.04.

What is libasound2-plugins-extra

libasound2-plugins-extra is:

This package contains plugins for the ALSA library that are not included in the main libasound2 or libasound2-plugins packages.

The following plugins are included:

  • a52: S16 to A52 stream converter
  • lavcrate: rate converter

There are three methods to install libasound2-plugins-extra 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 libasound2-plugins-extra Using apt-get

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

sudo apt-get update

After updating apt database, We can install libasound2-plugins-extra using apt-get by running the following command:

sudo apt-get -y install libasound2-plugins-extra

Install libasound2-plugins-extra Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libasound2-plugins-extra using apt by running the following command:

sudo apt -y install libasound2-plugins-extra

Install libasound2-plugins-extra 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 libasound2-plugins-extra using aptitude by running the following command:

sudo aptitude -y install libasound2-plugins-extra

How To Uninstall libasound2-plugins-extra on Ubuntu 18.04

To uninstall only the libasound2-plugins-extra package we can use the following command:

sudo apt-get remove libasound2-plugins-extra

Uninstall libasound2-plugins-extra And Its Dependencies

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

sudo apt-get -y autoremove libasound2-plugins-extra

Remove libasound2-plugins-extra Configurations and Data

To remove libasound2-plugins-extra configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libasound2-plugins-extra

Remove libasound2-plugins-extra configuration, data, and all of its dependencies

We can use the following command to remove libasound2-plugins-extra configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libasound2-plugins-extra

References

Summary

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