How To Install pd-mediasettings on Ubuntu 18.04

In this tutorial we learn how to install pd-mediasettings on Ubuntu 18.04. pd-mediasettings is programmatically modify the audio and MIDI settings from within Pd

Introduction

In this tutorial we learn how to install pd-mediasettings on Ubuntu 18.04.

What is pd-mediasettings

pd-mediasettings is:

This library adds a programmatic interface to Pd (Pure Data) to query the currently available audio and MIDI backends (like alsa, jack,…) and interfaces (like built-in soundcard, virtual devices,…), and allows one to enable and configure them from within a Pd patch.

There are three methods to install pd-mediasettings 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 pd-mediasettings Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install pd-mediasettings

Install pd-mediasettings Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install pd-mediasettings

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

sudo aptitude -y install pd-mediasettings

How To Uninstall pd-mediasettings on Ubuntu 18.04

To uninstall only the pd-mediasettings package we can use the following command:

sudo apt-get remove pd-mediasettings

Uninstall pd-mediasettings And Its Dependencies

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

sudo apt-get -y autoremove pd-mediasettings

Remove pd-mediasettings Configurations and Data

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

sudo apt-get -y purge pd-mediasettings

Remove pd-mediasettings configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge pd-mediasettings

References

Summary

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