How To Install libtask-kensho-perl on Ubuntu 18.04

In this tutorial we learn how to install libtask-kensho-perl on Ubuntu 18.04. libtask-kensho-perl is recommended modules for Enlightened Perl development

Introduction

In this tutorial we learn how to install libtask-kensho-perl on Ubuntu 18.04.

What is libtask-kensho-perl

libtask-kensho-perl is:

Task::Kensho is a list of recommended modules for Enlightened Perl development. The list is maintained by the Enlightened Perl Organisation.

Perl modules that are recommended by Task::Kensho are grouped into several logical categories (“tasks”). Modules are chosen from various top 100 most-used Perl modules lists and from discussions with various subject matter experts in the Perl Community.

This package recommends the libtask-kensho-all-perl package, which allows quick installation of all modules recommended in all Task::Kensho tasks. Note that one can install each Task::Kensho task individually if preferred.

This package also provides documentation for Task::Kensho including details of the recommended modules for each task.

There are three methods to install libtask-kensho-perl on Ubuntu 18.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 libtask-kensho-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 libtask-kensho-perl using apt-get by running the following command:

sudo apt-get -y install libtask-kensho-perl

Install libtask-kensho-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libtask-kensho-perl

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

sudo aptitude -y install libtask-kensho-perl

How To Uninstall libtask-kensho-perl on Ubuntu 18.04

To uninstall only the libtask-kensho-perl package we can use the following command:

sudo apt-get remove libtask-kensho-perl

Uninstall libtask-kensho-perl And Its Dependencies

To uninstall libtask-kensho-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libtask-kensho-perl

Remove libtask-kensho-perl Configurations and Data

To remove libtask-kensho-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libtask-kensho-perl

Remove libtask-kensho-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libtask-kensho-perl

References

Summary

In this tutorial we learn how to install libtask-kensho-perl package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.