How To Install libio-prompt-perl on Debian 9

In this tutorial we learn how to install libio-prompt-perl on Debian 9. libio-prompt-perl is module to interactively prompt for user input

Introduction

In this tutorial we learn how to install libio-prompt-perl on Debian 9.

What is libio-prompt-perl

libio-prompt-perl is:

IO::Prompt is a Perl module useful for prompting the user for some input and returning that data as an object. It also provides functions for simulating hand-typing to the console and for accessing the low-level input.

There are three methods to install libio-prompt-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-prompt-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-prompt-perl using apt-get by running the following command:

sudo apt-get -y install libio-prompt-perl

Install libio-prompt-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libio-prompt-perl using apt by running the following command:

sudo apt -y install libio-prompt-perl

Install libio-prompt-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-prompt-perl using aptitude by running the following command:

sudo aptitude -y install libio-prompt-perl

How To Uninstall libio-prompt-perl on Debian 9

To uninstall only the libio-prompt-perl package we can use the following command:

sudo apt-get remove libio-prompt-perl

Uninstall libio-prompt-perl And Its Dependencies

To uninstall libio-prompt-perl and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libio-prompt-perl

Remove libio-prompt-perl Configurations and Data

To remove libio-prompt-perl configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libio-prompt-perl

Remove libio-prompt-perl configuration, data, and all of its dependencies

We can use the following command to remove libio-prompt-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libio-prompt-perl

Dependencies

libio-prompt-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libio-prompt-perl package on Debian 9 using different package management tools: apt, apt-get and aptitude.