How To Install libprotocol-osc-perl on Debian 9

In this tutorial we learn how to install libprotocol-osc-perl on Debian 9. libprotocol-osc-perl is module to implement (de)coding and processing of OSC packets

Introduction

In this tutorial we learn how to install libprotocol-osc-perl on Debian 9.

What is libprotocol-osc-perl

libprotocol-osc-perl is:

Protocol::OSC implements the encoding, decoding and processing of OSC packets following the Open Sound Control protocol.

It’s pure Perl implementation, is faster than Net::LibLO (~4x) and Net::OpenSoundControl (~2x) and also provides a connection agnostic interface, path matching and type tagging according OSC v1 specification (and v1.1)

There are three methods to install libprotocol-osc-perl on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libprotocol-osc-perl Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libprotocol-osc-perl

Install libprotocol-osc-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libprotocol-osc-perl

Install libprotocol-osc-perl 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libprotocol-osc-perl

How To Uninstall libprotocol-osc-perl on Debian 9

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

sudo apt-get remove libprotocol-osc-perl

Uninstall libprotocol-osc-perl And Its Dependencies

To uninstall libprotocol-osc-perl and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libprotocol-osc-perl

Remove libprotocol-osc-perl Configurations and Data

To remove libprotocol-osc-perl configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libprotocol-osc-perl

Remove libprotocol-osc-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libprotocol-osc-perl

Dependencies

libprotocol-osc-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libprotocol-osc-perl package on Debian 9 using different package management tools: apt, apt-get and aptitude.