How To Install liboscpack-dev on Debian 9

In this tutorial we learn how to install liboscpack-dev on Debian 9. liboscpack-dev is A C++ library for packing and unpacking OSC packets - dev files

Introduction

In this tutorial we learn how to install liboscpack-dev on Debian 9.

What is liboscpack-dev

liboscpack-dev is:

Oscpack is simply a set of C++ classes for packing and unpacking OSC packets. Oscpack includes a minimal set of UDP networking classes for Windows and POSIX which are sufficient for writing many OSC applications and servers, but you are encouraged to use another networking framework if it better suits your needs. Oscpack is not an OSC application framework, it doesn’t include infrastructure for constructing or routing OSC namespaces, just classes for easily constructing, sending, receiving and parsing OSC packets. The library should also be easy to use for other transport methods (eg serial).

The key goals of the oscpack library are:

  • to be a simple and complete implementation of OSC
  • to be portable to a wide variety of platforms
  • to allow easy development of robust OSC applications (for example it should be impossible to crash a server by sending it malformed packets, and difficult to create malformed packets.)

This package contains files needed for development.

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

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

sudo apt-get update

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

sudo apt-get -y install liboscpack-dev

Install liboscpack-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install liboscpack-dev

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

sudo aptitude -y install liboscpack-dev

How To Uninstall liboscpack-dev on Debian 9

To uninstall only the liboscpack-dev package we can use the following command:

sudo apt-get remove liboscpack-dev

Uninstall liboscpack-dev And Its Dependencies

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

sudo apt-get -y autoremove liboscpack-dev

Remove liboscpack-dev Configurations and Data

To remove liboscpack-dev configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge liboscpack-dev

Remove liboscpack-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge liboscpack-dev

Dependencies

liboscpack-dev have the following dependencies:

References

Summary

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