How To Install libprotocol-http2-perl on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libprotocol-http2-perl
on Ubuntu 20.04.
What is libprotocol-http2-perl
libprotocol-http2-perl is:
Protocol::HTTP2 is HTTP/2 protocol implementation (RFC 7540) with stateful decoders/encoders of HTTP/2 frames. You may use this module to implement your own HTTP/2 client/server/intermediate on top of your favorite event loop over plain or TLS socket.
Protocol::HTTP2::Client is HTTP/2 client library. It’s intended to make HTTP/2 client implementations on top of your favorite event-loop.
Protocol::HTTP2::Server is HTTP/2 server library. It’s intended to make HTTP/2 server implementations on top of your favorite event loop.
There are three methods to install libprotocol-http2-perl
on Ubuntu 20.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 libprotocol-http2-perl Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libprotocol-http2-perl
using apt-get
by running the following command:
sudo apt-get -y install libprotocol-http2-perl
Install libprotocol-http2-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libprotocol-http2-perl
using apt
by running the following command:
sudo apt -y install libprotocol-http2-perl
Install libprotocol-http2-perl 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 libprotocol-http2-perl
using aptitude
by running the following command:
sudo aptitude -y install libprotocol-http2-perl
How To Uninstall libprotocol-http2-perl on Ubuntu 20.04
To uninstall only the libprotocol-http2-perl
package we can use the following command:
sudo apt-get remove libprotocol-http2-perl
Uninstall libprotocol-http2-perl And Its Dependencies
To uninstall libprotocol-http2-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libprotocol-http2-perl
Remove libprotocol-http2-perl Configurations and Data
To remove libprotocol-http2-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libprotocol-http2-perl
Remove libprotocol-http2-perl configuration, data, and all of its dependencies
We can use the following command to remove libprotocol-http2-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libprotocol-http2-perl
References
Summary
In this tutorial we learn how to install libprotocol-http2-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.