How To Install libnet-inet6glue-perl on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libnet-inet6glue-perl
on Ubuntu 20.04.
What is libnet-inet6glue-perl
libnet-inet6glue-perl is:
Net::INET6Glue is a collection of modules to make common modules IPv6 ready by hotpatching them.
Unfortunatly the current state of IPv6 support in perl is that no IPv6 support is in the core and that a lot of important modules (like Net::FTP, Net::SMTP, LWP, …) do not support IPv6 even if the modules for IPv6 sockets like Socket6, IO::Socket::IP or IO::Socket::INET6 are available.
There are three methods to install libnet-inet6glue-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 libnet-inet6glue-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 libnet-inet6glue-perl
using apt-get
by running the following command:
sudo apt-get -y install libnet-inet6glue-perl
Install libnet-inet6glue-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libnet-inet6glue-perl
using apt
by running the following command:
sudo apt -y install libnet-inet6glue-perl
Install libnet-inet6glue-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 libnet-inet6glue-perl
using aptitude
by running the following command:
sudo aptitude -y install libnet-inet6glue-perl
How To Uninstall libnet-inet6glue-perl on Ubuntu 20.04
To uninstall only the libnet-inet6glue-perl
package we can use the following command:
sudo apt-get remove libnet-inet6glue-perl
Uninstall libnet-inet6glue-perl And Its Dependencies
To uninstall libnet-inet6glue-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libnet-inet6glue-perl
Remove libnet-inet6glue-perl Configurations and Data
To remove libnet-inet6glue-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libnet-inet6glue-perl
Remove libnet-inet6glue-perl configuration, data, and all of its dependencies
We can use the following command to remove libnet-inet6glue-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libnet-inet6glue-perl
References
Summary
In this tutorial we learn how to install libnet-inet6glue-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.