How To Install pd-mrpeach-net on Ubuntu 18.04

In this tutorial we learn how to install pd-mrpeach-net on Ubuntu 18.04. pd-mrpeach-net is Pd library for low-level networking

Introduction

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

What is pd-mrpeach-net

pd-mrpeach-net is:

This library adds Pure Data (Pd) objects that allow one to build a networking infrastructure within Pd on OSI-Layer 4 (transport layer). The objects use threads to allow for non-blocking network communication within an audio realtime environment.

  • [tcpreceive], [tcpsend]: unidirectional communication over TCP/IP
  • [tcpserver], [tcpclient]: bidirectional communication over TCP/IP
  • [udpreceive], [udpsend]: unidirectional communication over UDP
  • [udpsndrcv]: bidirectional communication over UDP
  • [udpsend~], [udpreceive~]: transmit uncompressed signals via UDP Since these objects only send/receive lists of bytes, you will most likely need to add some glue to implement higher-level protocols (and transmit meaningful data).

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

sudo apt-get -y install pd-mrpeach-net

Install pd-mrpeach-net Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install pd-mrpeach-net

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

sudo aptitude -y install pd-mrpeach-net

How To Uninstall pd-mrpeach-net on Ubuntu 18.04

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

sudo apt-get remove pd-mrpeach-net

Uninstall pd-mrpeach-net And Its Dependencies

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

sudo apt-get -y autoremove pd-mrpeach-net

Remove pd-mrpeach-net Configurations and Data

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

sudo apt-get -y purge pd-mrpeach-net

Remove pd-mrpeach-net configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge pd-mrpeach-net

References

Summary

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