How To Install libtoolkit-perl on Ubuntu 18.04

In this tutorial we learn how to install libtoolkit-perl on Ubuntu 18.04. libtoolkit-perl is Keep your handy modules organized

Introduction

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

What is libtoolkit-perl

libtoolkit-perl is:

The Toolkit module provides a standard location to store modules that you use all the time, and then loads them for you automatically. For example, instead of always writing:

use strict; use warnings; use Carp; use Smart::Comments;

in every program/module, you can just write:

use Toolkit;

and put all your favorite modules in a file.

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

sudo apt-get -y install libtoolkit-perl

Install libtoolkit-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libtoolkit-perl

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

sudo aptitude -y install libtoolkit-perl

How To Uninstall libtoolkit-perl on Ubuntu 18.04

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

sudo apt-get remove libtoolkit-perl

Uninstall libtoolkit-perl And Its Dependencies

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

sudo apt-get -y autoremove libtoolkit-perl

Remove libtoolkit-perl Configurations and Data

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

sudo apt-get -y purge libtoolkit-perl

Remove libtoolkit-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libtoolkit-perl

References

Summary

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