How To Install libfoonathan-memory0d on Kali Linux

In this tutorial we learn how to install libfoonathan-memory0d on Kali Linux. libfoonathan-memory0d is STL compatible C++ memory allocator library

Introduction

In this tutorial we learn how to install libfoonathan-memory0d on Kali Linux.

What is libfoonathan-memory0d

libfoonathan-memory0d is:

The default STL allocator model has various flaws, for example you cannot easily share a single allocator for multiple types. This library is one of many proposed solutions for the shortcomings of the standard allocator, which unlike many other solutions does not require changes in the STL itself.

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

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

sudo apt-get update

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

sudo apt-get -y install libfoonathan-memory0d

Install libfoonathan-memory0d Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libfoonathan-memory0d

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

sudo aptitude -y install libfoonathan-memory0d

How To Uninstall libfoonathan-memory0d on Kali Linux

To uninstall only the libfoonathan-memory0d package we can use the following command:

sudo apt-get remove libfoonathan-memory0d

Uninstall libfoonathan-memory0d And Its Dependencies

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

sudo apt-get -y autoremove libfoonathan-memory0d

Remove libfoonathan-memory0d Configurations and Data

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

sudo apt-get -y purge libfoonathan-memory0d

Remove libfoonathan-memory0d configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libfoonathan-memory0d

Dependencies

libfoonathan-memory0d have the following dependencies:

References

Summary

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