How To Install python-pyo on Ubuntu 18.04

In this tutorial we learn how to install python-pyo on Ubuntu 18.04. python-pyo is Python module written in C to help digital signal processing script creation

Introduction

In this tutorial we learn how to install python-pyo on Ubuntu 18.04.

What is python-pyo

python-pyo is:

pyo is a Python module containing classes for a wide variety of audio signal processing types. With pyo, user will be able to include signal processing chains directly in Python scripts or projects, and to manipulate them in real time through the interpreter. Tools in pyo module offer primitives, like mathematical operations on audio signal, basic signal processing (filters, delays, synthesis generators, etc.), but also complex algorithms to create sound granulation and others creative audio manipulations.

pyo supports OSC protocol (Open Sound Control), to ease communications between softwares, and MIDI protocol, for generating sound events and controlling process parameters.

pyo allows creation of sophisticated signal processing chains with all the benefits of a mature, and wildly used, general programming language.

This package installs the library for Python 2.

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

sudo apt-get -y install python-pyo

Install python-pyo Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-pyo

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

sudo aptitude -y install python-pyo

How To Uninstall python-pyo on Ubuntu 18.04

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

sudo apt-get remove python-pyo

Uninstall python-pyo And Its Dependencies

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

sudo apt-get -y autoremove python-pyo

Remove python-pyo Configurations and Data

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

sudo apt-get -y purge python-pyo

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

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

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

References

Summary

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