How To Install libatopology-dev on Ubuntu 20.04

In this tutorial we learn how to install libatopology-dev on Ubuntu 20.04. libatopology-dev is shared library for handling ALSA topology – development files shared library for handling ALSA topology – development files

Introduction

In this tutorial we learn how to install libatopology-dev on Ubuntu 20.04.

What is libatopology-dev

libatopology-dev is:

This package contains files required for developing software that makes use of libatopology2, the ALSA topology library.

ALSA is the Advanced Linux Sound Architecture.

Package: libatopology-dev Architecture: amd64 Version: 1.2.2-2.1 Multi-Arch: same Priority: optional Section: libdevel Source: alsa-lib Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian ALSA Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 71 Provides: libatopology-dev Depends: libatopology2 (= 1.2.2-2.1), libasound2-dev Breaks: libasound2-dev (« 1.2.1.1) Replaces: libasound2-dev (« 1.2.1.1) Filename: pool/main/a/alsa-lib/libatopology-dev_1.2.2-2.1_amd64.deb Size: 11044 MD5sum: 32959b636a231e748ae5d411c1ec93c9 SHA1: bb87a94f57ca69fd9d422386c12547320e643a93 SHA256: 5caf0624fc1f427c58a8c86d43034eca278d390318f9d7bb4b116922cf113b6e Homepage: https://www.alsa-project.org/ Description-en: shared library for handling ALSA topology – development files This package contains files required for developing software that makes use of libatopology2, the ALSA topology library.

ALSA is the Advanced Linux Sound Architecture.

There are three methods to install libatopology-dev on Ubuntu 20.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 libatopology-dev Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libatopology-dev

Install libatopology-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libatopology-dev

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

sudo aptitude -y install libatopology-dev

How To Uninstall libatopology-dev on Ubuntu 20.04

To uninstall only the libatopology-dev package we can use the following command:

sudo apt-get remove libatopology-dev

Uninstall libatopology-dev And Its Dependencies

To uninstall libatopology-dev and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libatopology-dev

Remove libatopology-dev Configurations and Data

To remove libatopology-dev configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libatopology-dev

Remove libatopology-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libatopology-dev

References

Summary

In this tutorial we learn how to install libatopology-dev package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.