How To Install libweb-id-perl on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libweb-id-perl
on Ubuntu 20.04.
What is libweb-id-perl
libweb-id-perl is:
WebID is a simple authentication protocol based on TLS (Transaction Layer Security, better known as Secure Socket Layer, SSL) and the Semantic Web. This module provides a Perl implementation for authenticating clients using WebID.
For more information see the Web::ID::FAQ document.
Bundled with this module are Plack::Middleware::Auth::WebID, a plugin for Plack to perform WebID authentication on HTTPS connections; and Web::ID::Certificate::Generator, a module that allows you to generate WebID-enabled certificates that can be installed into web browsers.
If WWW::Finger (libwww-finger-perl) is installed, Web::ID::Certificate::Generator attempts to locate some RDF data about the holder of an e-mail address provided as Web::ID::SAN::Email. It is probably not especially interoperable with other WebID implementations.
Depending on webserver setup, libplack-middleware-apache2-modssl-perl or libplack-middleware-gepokx-modssl-perl may be required.
There are three methods to install libweb-id-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 libweb-id-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 libweb-id-perl
using apt-get
by running the following command:
sudo apt-get -y install libweb-id-perl
Install libweb-id-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libweb-id-perl
using apt
by running the following command:
sudo apt -y install libweb-id-perl
Install libweb-id-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 libweb-id-perl
using aptitude
by running the following command:
sudo aptitude -y install libweb-id-perl
How To Uninstall libweb-id-perl on Ubuntu 20.04
To uninstall only the libweb-id-perl
package we can use the following command:
sudo apt-get remove libweb-id-perl
Uninstall libweb-id-perl And Its Dependencies
To uninstall libweb-id-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libweb-id-perl
Remove libweb-id-perl Configurations and Data
To remove libweb-id-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libweb-id-perl
Remove libweb-id-perl configuration, data, and all of its dependencies
We can use the following command to remove libweb-id-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libweb-id-perl
References
Summary
In this tutorial we learn how to install libweb-id-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.