How To Install pd-slip on Ubuntu 18.04

In this tutorial we learn how to install pd-slip on Ubuntu 18.04. pd-slip is SLIP encoder/decoder for Pure Data (Pd)

Introduction

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

What is pd-slip

pd-slip is:

This library implements the Serial Line Internet Protocol (SLIP), a simple protocol for encapsulating packets within a streaming transport protocol such as TCP/IP or on the serial port.

You will need this if you plan to transmit e.g. OSC messages via TCP/IP or the serial line.

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

sudo apt-get -y install pd-slip

Install pd-slip Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install pd-slip

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

sudo aptitude -y install pd-slip

How To Uninstall pd-slip on Ubuntu 18.04

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

sudo apt-get remove pd-slip

Uninstall pd-slip And Its Dependencies

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

sudo apt-get -y autoremove pd-slip

Remove pd-slip Configurations and Data

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

sudo apt-get -y purge pd-slip

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

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

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

References

Summary

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