How To Install libperlio-via-dynamic-perl on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libperlio-via-dynamic-perl
on Ubuntu 18.04.
What is libperlio-via-dynamic-perl
libperlio-via-dynamic-perl is:
PerlIO::via::dynamic is used for creating dynamic PerlIO layers. It is useful when the behavior or the layer depends on variables. You should not use this module as via layer directly (ie :via(dynamic)).
Use the constructor to create new layers, with two arguments: translate and untranslate. Then use $p->via ($fh) to wrap the handle.
Note that PerlIO::via::dynamic uses the scalar fields to reference to the object representing the dynamic namespace. If you
There are three methods to install libperlio-via-dynamic-perl
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 libperlio-via-dynamic-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 libperlio-via-dynamic-perl
using apt-get
by running the following command:
sudo apt-get -y install libperlio-via-dynamic-perl
Install libperlio-via-dynamic-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libperlio-via-dynamic-perl
using apt
by running the following command:
sudo apt -y install libperlio-via-dynamic-perl
Install libperlio-via-dynamic-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 libperlio-via-dynamic-perl
using aptitude
by running the following command:
sudo aptitude -y install libperlio-via-dynamic-perl
How To Uninstall libperlio-via-dynamic-perl on Ubuntu 18.04
To uninstall only the libperlio-via-dynamic-perl
package we can use the following command:
sudo apt-get remove libperlio-via-dynamic-perl
Uninstall libperlio-via-dynamic-perl And Its Dependencies
To uninstall libperlio-via-dynamic-perl
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libperlio-via-dynamic-perl
Remove libperlio-via-dynamic-perl Configurations and Data
To remove libperlio-via-dynamic-perl
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libperlio-via-dynamic-perl
Remove libperlio-via-dynamic-perl configuration, data, and all of its dependencies
We can use the following command to remove libperlio-via-dynamic-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libperlio-via-dynamic-perl
References
Summary
In this tutorial we learn how to install libperlio-via-dynamic-perl
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.