How To Install libconfig-tiny-perl on Kali Linux

In this tutorial we learn how to install libconfig-tiny-perl on Kali Linux. libconfig-tiny-perl is Read/Write .ini style files with as little code as possible

Introduction

In this tutorial we learn how to install libconfig-tiny-perl on Kali Linux.

What is libconfig-tiny-perl

libconfig-tiny-perl is:

Config::Tiny is a perl class to read and write .ini style configuration files with as little code as possible, reducing load time and memory overhead.

This module is primarily for reading human written files, and anything written into shouldn’t need to have documentation/comments. If something with more power is needed, move up to Config::Simple, Config::General or one of the many other Config:: modules. Config::Tiny does not preserve comments, whitespace, or the order of the file contents.

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

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

sudo apt-get -y install libconfig-tiny-perl

Install libconfig-tiny-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libconfig-tiny-perl

Install libconfig-tiny-perl Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libconfig-tiny-perl

How To Uninstall libconfig-tiny-perl on Kali Linux

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

sudo apt-get remove libconfig-tiny-perl

Uninstall libconfig-tiny-perl And Its Dependencies

To uninstall libconfig-tiny-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libconfig-tiny-perl

Remove libconfig-tiny-perl Configurations and Data

To remove libconfig-tiny-perl configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libconfig-tiny-perl

Remove libconfig-tiny-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libconfig-tiny-perl

Dependencies

libconfig-tiny-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libconfig-tiny-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.