How To Install libsleef-dev on Debian 12

Learn how to install libsleef-dev on Debian 12 with this tutorial. libsleef-dev is SLEEF Vectorized Math Library (development)

Introduction

In this tutorial we learn how to install libsleef-dev on Debian 12.

What is libsleef-dev

libsleef-dev is:

SLEEF stands for SIMD Library for Evaluating Elementary Functions. It implements vectorized versions of all C99 real floating point math functions. It can utilize SIMD instructions of modern processors. SLEEF is designed to fully utilize SIMD computation by reducing the use of conditional branches and scatter/gather memory access.

The library contains subroutines for all C99 real FP math functions in double precision and single precision. SLEEF also includes subroutines for discrete Fourier transform(DFT).

This package ships development files.

There are three methods to install libsleef-dev on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libsleef-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 libsleef-dev using apt-get by running the following command:

sudo apt-get -y install libsleef-dev

Install libsleef-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsleef-dev

Install libsleef-dev Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libsleef-dev

How To Uninstall libsleef-dev on Debian 12

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

sudo apt-get remove libsleef-dev

Uninstall libsleef-dev And Its Dependencies

To uninstall libsleef-dev and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libsleef-dev

Remove libsleef-dev Configurations and Data

To remove libsleef-dev configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libsleef-dev

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

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

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

Dependencies

libsleef-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libsleef-dev package on Debian 12 using different package management tools: apt, apt-get and aptitude.