How To Install libthrift-0.11.0 on Debian 10

Learn how to install libthrift-0.11.0 on Debian 10 with this tutorial. libthrift-0.11.0 is Thrift C++ library

Introduction

In this tutorial we learn how to install libthrift-0.11.0 on Debian 10.

What is libthrift-0.11.0

libthrift-0.11.0 is:

Thrift is a software framework for the development of reliable and performant communication and data serialization. It combines a software stack with code generation to build services that operate seamlessly across a number of different development languages.

This package contains the runtime libraries needed for C++ applications using Thrift.

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

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

sudo apt-get update

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

sudo apt-get -y install libthrift-0.11.0

Install libthrift-0.11.0 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libthrift-0.11.0

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

sudo aptitude -y install libthrift-0.11.0

How To Uninstall libthrift-0.11.0 on Debian 10

To uninstall only the libthrift-0.11.0 package we can use the following command:

sudo apt-get remove libthrift-0.11.0

Uninstall libthrift-0.11.0 And Its Dependencies

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

sudo apt-get -y autoremove libthrift-0.11.0

Remove libthrift-0.11.0 Configurations and Data

To remove libthrift-0.11.0 configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libthrift-0.11.0

Remove libthrift-0.11.0 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libthrift-0.11.0

Dependencies

libthrift-0.11.0 have the following dependencies:

References

Summary

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