How To Install libpion-plugins on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libpion-plugins
on Ubuntu 18.04.
What is libpion-plugins
libpion-plugins 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 plugins.
There are three methods to install libpion-plugins
on Ubuntu 18.04. 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-plugins 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-plugins
using apt-get
by running the following command:
sudo apt-get -y install libpion-plugins
Install libpion-plugins Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libpion-plugins
using apt
by running the following command:
sudo apt -y install libpion-plugins
Install libpion-plugins 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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libpion-plugins
using aptitude
by running the following command:
sudo aptitude -y install libpion-plugins
How To Uninstall libpion-plugins on Ubuntu 18.04
To uninstall only the libpion-plugins
package we can use the following command:
sudo apt-get remove libpion-plugins
Uninstall libpion-plugins And Its Dependencies
To uninstall libpion-plugins
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libpion-plugins
Remove libpion-plugins Configurations and Data
To remove libpion-plugins
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libpion-plugins
Remove libpion-plugins configuration, data, and all of its dependencies
We can use the following command to remove libpion-plugins
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libpion-plugins
References
Summary
In this tutorial we learn how to install libpion-plugins
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.