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