How To Install libmsgpackc2 on Debian 11

In this tutorial we learn how to install libmsgpackc2 on Debian 11. libmsgpackc2 is binary-based efficient object serialization library

Introduction

In this tutorial we learn how to install libmsgpackc2 on Debian 11.

What is libmsgpackc2

libmsgpackc2 is:

MessagePack is a binary-based efficient object serialization library. It enables to exchange structured objects between many languages like JSON. But unlike JSON, it is very fast and small.

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

Install libmsgpackc2 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libmsgpackc2

Install libmsgpackc2 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libmsgpackc2

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

sudo aptitude -y install libmsgpackc2

How To Uninstall libmsgpackc2 on Debian 11

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

sudo apt-get remove libmsgpackc2

Uninstall libmsgpackc2 And Its Dependencies

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

sudo apt-get -y autoremove libmsgpackc2

Remove libmsgpackc2 Configurations and Data

To remove libmsgpackc2 configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge libmsgpackc2

Remove libmsgpackc2 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libmsgpackc2

Dependencies

libmsgpackc2 have the following dependencies:

References

Summary

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