How To Install libterm-extendedcolor-perl on Ubuntu 22.04
Introduction
In this tutorial we learn how to install libterm-extendedcolor-perl
on Ubuntu 22.04.
What is libterm-extendedcolor-perl
libterm-extendedcolor-perl is:
Term::ExtendedColor provides functions for sending so called extended escape sequences to the terminal. This ought to be used with a 256-color compatible terminal.
The codes generated by this module comply to the extension of the ANSI colors standard first implemented in xterm in 1999. The first 16 color indexes (0 - 15) are the regular ANSI colors, while index 16 - 255 are the extendes ones. Most terminal emulators support this extension.
There are three methods to install libterm-extendedcolor-perl
on Ubuntu 22.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 libterm-extendedcolor-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-extendedcolor-perl
using apt-get
by running the following command:
sudo apt-get -y install libterm-extendedcolor-perl
Install libterm-extendedcolor-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libterm-extendedcolor-perl
using apt
by running the following command:
sudo apt -y install libterm-extendedcolor-perl
Install libterm-extendedcolor-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 libterm-extendedcolor-perl
using aptitude
by running the following command:
sudo aptitude -y install libterm-extendedcolor-perl
How To Uninstall libterm-extendedcolor-perl on Ubuntu 22.04
To uninstall only the libterm-extendedcolor-perl
package we can use the following command:
sudo apt-get remove libterm-extendedcolor-perl
Uninstall libterm-extendedcolor-perl And Its Dependencies
To uninstall libterm-extendedcolor-perl
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove libterm-extendedcolor-perl
Remove libterm-extendedcolor-perl Configurations and Data
To remove libterm-extendedcolor-perl
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge libterm-extendedcolor-perl
Remove libterm-extendedcolor-perl configuration, data, and all of its dependencies
We can use the following command to remove libterm-extendedcolor-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libterm-extendedcolor-perl
References
Summary
In this tutorial we learn how to install libterm-extendedcolor-perl
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.