How To Install libmkl-full-dev on Debian 12

Learn how to install libmkl-full-dev on Debian 12 with this tutorial. libmkl-full-dev is Intel? Math Kernel Library (Intel? MKL) (Full Version Dev)

Introduction

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

What is libmkl-full-dev

libmkl-full-dev is:

Intel? Math Kernel Library (Intel? MKL) is a computing math library of highly optimized, extensively threaded routines for applications that require maximum performance. The library provides Fortran and C programming language interfaces. Intel? MKL C language interfaces can be called from applications written in either C or C++, as well as in any other language that can reference a C interface.

Intel? MKL provides comprehensive functionality support in these major areas of computation:

  • BLAS (level 1, 2, and 3) and LAPACK linear algebra routines, offering vector, vector-matrix, and matrix-matrix operations.
  • ScaLAPACK distributed processing linear algebra routines, as well as the Basic Linear Algebra Communications Subprograms (BLACS) and the Parallel Basic Linear Algebra Subprograms (PBLAS).
  • Intel? MKL PARDISO (a direct sparse solver based on Parallel Direct Sparse Solver PARDISO*), an iterative sparse solver, and supporting sparse BLAS (level 1, 2, and 3) routines for solving sparse systems of equations, as well as a distributed version of Intel? MKL PARDISO solver provided for use on clusters.
  • Fast Fourier transform (FFT) functions in one, two, or three dimensions with support for mixed radices (not limited to sizes that are powers of 2), as well as distributed versions of these functions provided for use on clusters.
  • Vector Mathematics (VM) routines for optimized mathematical operations on vectors.
  • Vector Statistics (VS) routines, which offer high-performance vectorized random number generators (RNG) for several probability distributions, convolution and correlation routines, and summary statistics functions.
  • Data Fitting Library, which provides capabilities for spline-based approximation of functions, derivatives and integrals of functions, and search.
  • Extended Eigensolver, a shared memory programming (SMP) version of an eigensolver based on the Feast Eigenvalue Solver.
  • Deep Neural Network (DNN) primitive functions with C language interface.

This package pulls all the header files, static and shared objects of MKL.

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

sudo apt-get -y install libmkl-full-dev

Install libmkl-full-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libmkl-full-dev

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

sudo aptitude -y install libmkl-full-dev

How To Uninstall libmkl-full-dev on Debian 12

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

sudo apt-get remove libmkl-full-dev

Uninstall libmkl-full-dev And Its Dependencies

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

sudo apt-get -y autoremove libmkl-full-dev

Remove libmkl-full-dev Configurations and Data

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

sudo apt-get -y purge libmkl-full-dev

Remove libmkl-full-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libmkl-full-dev

Dependencies

libmkl-full-dev have the following dependencies:

References

Summary

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