How To Install python-aubio on Debian 9

In this tutorial we learn how to install python-aubio on Debian 9. python-aubio is python interface for aubio, a library for audio segmentation

Introduction

In this tutorial we learn how to install python-aubio on Debian 9.

What is python-aubio

python-aubio is:

aubio gathers a set of functions for audio signal segmentation and labelling. The library contains a phase vocoder, onset and pitch detection functions, a beat tracking algorithm and other sound processing utilities.

This package provides the aubio module for Python 2.

There are three methods to install python-aubio on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install python-aubio Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install python-aubio

Install python-aubio Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-aubio

Install python-aubio 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install python-aubio using aptitude by running the following command:

sudo aptitude -y install python-aubio

How To Uninstall python-aubio on Debian 9

To uninstall only the python-aubio package we can use the following command:

sudo apt-get remove python-aubio

Uninstall python-aubio And Its Dependencies

To uninstall python-aubio and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove python-aubio

Remove python-aubio Configurations and Data

To remove python-aubio configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge python-aubio

Remove python-aubio configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-aubio

Dependencies

python-aubio have the following dependencies:

References

Summary

In this tutorial we learn how to install python-aubio package on Debian 9 using different package management tools: apt, apt-get and aptitude.