How To Install libio-pty-easy-perl on Debian 9
Introduction
In this tutorial we learn how to install libio-pty-easy-perl on Debian 9.
What is libio-pty-easy-perl
libio-pty-easy-perl is:
IO::Pty::Easy provides an interface to IO::Pty which hides most of the ugly details of handling ptys, wrapping them instead in simple spawn/read/write commands.
IO::Pty::Easy uses IO::Pty internally, so it inherits all of the portability restrictions from that module.
There are three methods to install libio-pty-easy-perl on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install libio-pty-easy-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 libio-pty-easy-perl using apt-get by running the following command:
sudo apt-get -y install libio-pty-easy-perl
Install libio-pty-easy-perl Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libio-pty-easy-perl using apt by running the following command:
sudo apt -y install libio-pty-easy-perl
Install libio-pty-easy-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 Debian. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install libio-pty-easy-perl using aptitude by running the following command:
sudo aptitude -y install libio-pty-easy-perl
How To Uninstall libio-pty-easy-perl on Debian 9
To uninstall only the libio-pty-easy-perl package we can use the following command:
sudo apt-get remove libio-pty-easy-perl
Uninstall libio-pty-easy-perl And Its Dependencies
To uninstall libio-pty-easy-perl and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libio-pty-easy-perl
Remove libio-pty-easy-perl Configurations and Data
To remove libio-pty-easy-perl configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libio-pty-easy-perl
Remove libio-pty-easy-perl configuration, data, and all of its dependencies
We can use the following command to remove libio-pty-easy-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libio-pty-easy-perl
Dependencies
libio-pty-easy-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libio-pty-easy-perl package on Debian 9 using different package management tools: apt, apt-get and aptitude.