How To Install libref-array1 on Kali Linux

In this tutorial we learn how to install libref-array1 on Kali Linux. libref-array1 is refcounted array for C

Introduction

In this tutorial we learn how to install libref-array1 on Kali Linux.

What is libref-array1

libref-array1 is:

A dynamically-growing, reference-counted array

This package is part of the ding-libs, libraries that are required for the proper functioning of SSSD, the System Security Services Daemon.

There are three methods to install libref-array1 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 libref-array1 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libref-array1 using apt-get by running the following command:

sudo apt-get -y install libref-array1

Install libref-array1 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libref-array1

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

sudo aptitude -y install libref-array1

How To Uninstall libref-array1 on Kali Linux

To uninstall only the libref-array1 package we can use the following command:

sudo apt-get remove libref-array1

Uninstall libref-array1 And Its Dependencies

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

sudo apt-get -y autoremove libref-array1

Remove libref-array1 Configurations and Data

To remove libref-array1 configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libref-array1

Remove libref-array1 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libref-array1

Dependencies

libref-array1 have the following dependencies:

References

Summary

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