How To Install libavro23 on Debian 10

Learn how to install libavro23 on Debian 10 with this tutorial. libavro23 is Apache Avro C shared library (avro-c)

Introduction

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

What is libavro23

libavro23 is:

Apache Avro is a data serialization system. Avro provides rich data structures; a binary data format; and a container file format, to store Avro-encoded data persistently.

This package provides the “avro-c” implementation of Apache Avro in C. The C implementation supports:

  • binary encoding/decoding of all primitive and complex data types
  • storage to an Avro Object Container File
  • schema resolution, promotion and projection
  • validating and non-validating mode for writing Avro data

The C implementation of Avro lacks RPC support.

This package contains the shared library.

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

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

sudo apt-get update

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

sudo apt-get -y install libavro23

Install libavro23 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libavro23

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

sudo aptitude -y install libavro23

How To Uninstall libavro23 on Debian 10

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

sudo apt-get remove libavro23

Uninstall libavro23 And Its Dependencies

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

sudo apt-get -y autoremove libavro23

Remove libavro23 Configurations and Data

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

sudo apt-get -y purge libavro23

Remove libavro23 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libavro23

Dependencies

libavro23 have the following dependencies:

References

Summary

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