How To Install libterm-clui-perl on Debian 11

In this tutorial we learn how to install libterm-clui-perl on Debian 11. libterm-clui-perl is Perl module offering a Command-Line User Interface

Introduction

In this tutorial we learn how to install libterm-clui-perl on Debian 11.

What is libterm-clui-perl

libterm-clui-perl is:

Term::Clui offers a high-level user interface to give the user of command-line applications a consistent “look and feel”. Its metaphor for the computer is as a human-like conversation-partner, and as each question/response is completed it is summarised onto one line, and remains on screen, so that the history of the session gradually accumulates on the screen and is available for review, or for cut/paste. This user interface can therefore be intermixed with standard applications which write to STDOUT or STDERR, such as make, pgp, rcs etc.

There are three methods to install libterm-clui-perl on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libterm-clui-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 libterm-clui-perl using apt-get by running the following command:

sudo apt-get -y install libterm-clui-perl

Install libterm-clui-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libterm-clui-perl

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

sudo aptitude -y install libterm-clui-perl

How To Uninstall libterm-clui-perl on Debian 11

To uninstall only the libterm-clui-perl package we can use the following command:

sudo apt-get remove libterm-clui-perl

Uninstall libterm-clui-perl And Its Dependencies

To uninstall libterm-clui-perl and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove libterm-clui-perl

Remove libterm-clui-perl Configurations and Data

To remove libterm-clui-perl configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge libterm-clui-perl

Remove libterm-clui-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libterm-clui-perl

Dependencies

libterm-clui-perl have the following dependencies:

References

Summary

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