How To Install libgloo-dev on Kali Linux

In this tutorial we learn how to install libgloo-dev on Kali Linux. libgloo-dev is Collective communications library (development files)

Introduction

In this tutorial we learn how to install libgloo-dev on Kali Linux.

What is libgloo-dev

libgloo-dev is:

Gloo is a collective communications library. It comes with a number of collective algorithms useful for machine learning applications. These include a barrier, broadcast, and allreduce.

Transport of data between participating machines is abstracted so that IP can be used at all times, or InifiniBand (or RoCE) when available. In the latter case, if the InfiniBand transport is used, GPUDirect can be used to accelerate cross machine GPU-to-GPU memory transfers.

Where applicable, algorithms have an implementation that works with system memory buffers, and one that works with NVIDIA GPU memory buffers. In the latter case, it is not necessary to copy memory between host and device; this is taken care of by the algorithm implementations.

This package ships the development files.

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

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

sudo apt-get update

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

sudo apt-get -y install libgloo-dev

Install libgloo-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libgloo-dev

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

sudo aptitude -y install libgloo-dev

How To Uninstall libgloo-dev on Kali Linux

To uninstall only the libgloo-dev package we can use the following command:

sudo apt-get remove libgloo-dev

Uninstall libgloo-dev And Its Dependencies

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

sudo apt-get -y autoremove libgloo-dev

Remove libgloo-dev Configurations and Data

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

sudo apt-get -y purge libgloo-dev

Remove libgloo-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libgloo-dev

Dependencies

libgloo-dev have the following dependencies:

References

Summary

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