How To Install libposix-strftime-compiler-perl on Kali Linux

In this tutorial we learn how to install libposix-strftime-compiler-perl on Kali Linux. libposix-strftime-compiler-perl is GNU C library compatible strftime for loggers and servers

Introduction

In this tutorial we learn how to install libposix-strftime-compiler-perl on Kali Linux.

What is libposix-strftime-compiler-perl

libposix-strftime-compiler-perl is:

POSIX::strftime::Compiler provides a GNU C library compatible strftime(3), which is not affected by the system locale. This is useful when you want to write loggers, servers and portable applications that generate the same result strings on any locale. Technically, POSIX::strftime::Compiler wraps POSIX::strftime and converts some format characters to perl code.

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

sudo apt-get -y install libposix-strftime-compiler-perl

Install libposix-strftime-compiler-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libposix-strftime-compiler-perl

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

sudo aptitude -y install libposix-strftime-compiler-perl

How To Uninstall libposix-strftime-compiler-perl on Kali Linux

To uninstall only the libposix-strftime-compiler-perl package we can use the following command:

sudo apt-get remove libposix-strftime-compiler-perl

Uninstall libposix-strftime-compiler-perl And Its Dependencies

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

sudo apt-get -y autoremove libposix-strftime-compiler-perl

Remove libposix-strftime-compiler-perl Configurations and Data

To remove libposix-strftime-compiler-perl configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libposix-strftime-compiler-perl

Remove libposix-strftime-compiler-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libposix-strftime-compiler-perl

Dependencies

libposix-strftime-compiler-perl have the following dependencies:

References

Summary

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