How To Install libzita-alsa-pcmi0 on Ubuntu 18.04

In this tutorial we learn how to install libzita-alsa-pcmi0 on Ubuntu 18.04. libzita-alsa-pcmi0 is C++ wrapper around the ALSA API

Introduction

In this tutorial we learn how to install libzita-alsa-pcmi0 on Ubuntu 18.04.

What is libzita-alsa-pcmi0

libzita-alsa-pcmi0 is:

Zita-alsa-pcmi is the successor of clalsadrv library. It provides easy access to ALSA PCM devices, taking care of the many functions required to open, initialise and use a hw: device in mmap mode, and providing floating point audio data.

This package contains the shared library for libzita-alsa-pcmi.

There are three methods to install libzita-alsa-pcmi0 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 libzita-alsa-pcmi0 Using apt-get

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

sudo apt-get update

After updating apt database, We can install libzita-alsa-pcmi0 using apt-get by running the following command:

sudo apt-get -y install libzita-alsa-pcmi0

Install libzita-alsa-pcmi0 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libzita-alsa-pcmi0 using apt by running the following command:

sudo apt -y install libzita-alsa-pcmi0

Install libzita-alsa-pcmi0 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 libzita-alsa-pcmi0 using aptitude by running the following command:

sudo aptitude -y install libzita-alsa-pcmi0

How To Uninstall libzita-alsa-pcmi0 on Ubuntu 18.04

To uninstall only the libzita-alsa-pcmi0 package we can use the following command:

sudo apt-get remove libzita-alsa-pcmi0

Uninstall libzita-alsa-pcmi0 And Its Dependencies

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

sudo apt-get -y autoremove libzita-alsa-pcmi0

Remove libzita-alsa-pcmi0 Configurations and Data

To remove libzita-alsa-pcmi0 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libzita-alsa-pcmi0

Remove libzita-alsa-pcmi0 configuration, data, and all of its dependencies

We can use the following command to remove libzita-alsa-pcmi0 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libzita-alsa-pcmi0

References

Summary

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