How To Install libtype-tie-perl on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libtype-tie-perl
on Ubuntu 20.04.
What is libtype-tie-perl
libtype-tie-perl is:
Type::Tie exports a single function: ttie. ttie ties a variable to a type constraint, ensuring that whatever values stored in the variable will conform to the type constraint. If the type constraint has coercions, these will be used if necessary to ensure values assigned to the variable conform.
There are three methods to install libtype-tie-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 libtype-tie-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 libtype-tie-perl
using apt-get
by running the following command:
sudo apt-get -y install libtype-tie-perl
Install libtype-tie-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libtype-tie-perl
using apt
by running the following command:
sudo apt -y install libtype-tie-perl
Install libtype-tie-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 libtype-tie-perl
using aptitude
by running the following command:
sudo aptitude -y install libtype-tie-perl
How To Uninstall libtype-tie-perl on Ubuntu 20.04
To uninstall only the libtype-tie-perl
package we can use the following command:
sudo apt-get remove libtype-tie-perl
Uninstall libtype-tie-perl And Its Dependencies
To uninstall libtype-tie-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libtype-tie-perl
Remove libtype-tie-perl Configurations and Data
To remove libtype-tie-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libtype-tie-perl
Remove libtype-tie-perl configuration, data, and all of its dependencies
We can use the following command to remove libtype-tie-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libtype-tie-perl
References
Summary
In this tutorial we learn how to install libtype-tie-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.