How To Install libopenlibm-dev on Kali Linux

In this tutorial we learn how to install libopenlibm-dev on Kali Linux. libopenlibm-dev is standalone implementation of C mathematical functions (development files)

Introduction

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

What is libopenlibm-dev

libopenlibm-dev is:

OpenLibm is an effort to have a high quality, portable, standalone libm implementation, under a liberal free software license. It can be used standalone in applications and programming language implementations.

The project was born out of a need to have a good libm for the Julia programming language that worked consistently across compilers and operating systems, and in 32-bit and 64-bit environments.

This package contains the development files needed to compile software using openlibm.

There are three methods to install libopenlibm-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 libopenlibm-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 libopenlibm-dev using apt-get by running the following command:

sudo apt-get -y install libopenlibm-dev

Install libopenlibm-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libopenlibm-dev

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

sudo aptitude -y install libopenlibm-dev

How To Uninstall libopenlibm-dev on Kali Linux

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

sudo apt-get remove libopenlibm-dev

Uninstall libopenlibm-dev And Its Dependencies

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

sudo apt-get -y autoremove libopenlibm-dev

Remove libopenlibm-dev Configurations and Data

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

sudo apt-get -y purge libopenlibm-dev

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

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

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

Dependencies

libopenlibm-dev have the following dependencies:

References

Summary

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