How To Install libpion-5.0 on Debian 9

In this tutorial we learn how to install libpion-5.0 on Debian 9. libpion-5.0 is lightweight HTTP interface library - runtime files

Introduction

In this tutorial we learn how to install libpion-5.0 on Debian 9.

What is libpion-5.0

libpion-5.0 is:

pion is not intended to implement yet another web server, but to provide HTTP(S) functionality to new or existing C++ applications. If you’re looking for a full-featured server application, check out Apache or lighttpd. If you’re working on a Boost C++ application and would just like to use HTTP to provide a simple user interface or interact with run-time data, then pion is a clean and simple solution.

Pion Network Library uses the Boost and asio libraries for multi-threading and asynchronous I/O. This allows servers implemented using pion to handle many thousands of connections simultaneously with a single physical server.

pion also supports server-side SSL & TLS encryption when built with the OpenSSL library (which the Debian package is).

This package includes the pion runtime files.

There are three methods to install libpion-5.0 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 libpion-5.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 libpion-5.0 using apt-get by running the following command:

sudo apt-get -y install libpion-5.0

Install libpion-5.0 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libpion-5.0

Install libpion-5.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 libpion-5.0 using aptitude by running the following command:

sudo aptitude -y install libpion-5.0

How To Uninstall libpion-5.0 on Debian 9

To uninstall only the libpion-5.0 package we can use the following command:

sudo apt-get remove libpion-5.0

Uninstall libpion-5.0 And Its Dependencies

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

sudo apt-get -y autoremove libpion-5.0

Remove libpion-5.0 Configurations and Data

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

sudo apt-get -y purge libpion-5.0

Remove libpion-5.0 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libpion-5.0

Dependencies

libpion-5.0 have the following dependencies:

References

Summary

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