How To Install liboscpack1 on Debian 10

Learn how to install liboscpack1 on Debian 10 with this tutorial. liboscpack1 is C++ library for packing and unpacking OSC packets

Introduction

In this tutorial we learn how to install liboscpack1 on Debian 10.

What is liboscpack1

liboscpack1 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 provides the shared library.

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

Install liboscpack1 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install liboscpack1

Install liboscpack1 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install liboscpack1 using apt by running the following command:

sudo apt -y install liboscpack1

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

sudo aptitude -y install liboscpack1

How To Uninstall liboscpack1 on Debian 10

To uninstall only the liboscpack1 package we can use the following command:

sudo apt-get remove liboscpack1

Uninstall liboscpack1 And Its Dependencies

To uninstall liboscpack1 and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove liboscpack1

Remove liboscpack1 Configurations and Data

To remove liboscpack1 configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge liboscpack1

Remove liboscpack1 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge liboscpack1

Dependencies

liboscpack1 have the following dependencies:

References

Summary

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