How To Install pd-osc on Ubuntu 18.04

In this tutorial we learn how to install pd-osc on Ubuntu 18.04. pd-osc is Open Sound Control for Pd

Introduction

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

What is pd-osc

pd-osc is:

This library allows one to construct and parse OSC messages within Pd. It includes support for ordinary OSC-messages, typetags, timetags and bundles.

These objects are transport-agnostic, so you can use them to transmit OSC over UDP, TCP/IP, serial port, or in fact whatever you want. However, you will have to install additional libraries that will handle the transport layer (like pd-net or pd-comport).

Note however, that OSC is a packet-based protocol, so if you intend to use it with a stream-based transport (like TCP/IP or the serial line), you must use a packetizer (the OSC-specifications suggest to use SLIP, as provided by pd-slip).

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

sudo apt-get -y install pd-osc

Install pd-osc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install pd-osc

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

sudo aptitude -y install pd-osc

How To Uninstall pd-osc on Ubuntu 18.04

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

sudo apt-get remove pd-osc

Uninstall pd-osc And Its Dependencies

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

sudo apt-get -y autoremove pd-osc

Remove pd-osc Configurations and Data

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

sudo apt-get -y purge pd-osc

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

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

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

References

Summary

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