How To Install lapack-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install lapack-devel.x86_64 in Amazon Linux 2. lapack-devel.x86_64 is LAPACK development libraries

Introduction

In this tutorial we learn how to install lapack-devel.x86_64 on Amazon Linux 2.

What is lapack-devel.x86_64

LAPACK development libraries (shared).

We can use yum to install lapack-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install lapack-devel.x86_64.

Install lapack-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install lapack-devel.x86_64 using yum by running the following command:

sudo yum -y install lapack-devel.x86_64

How To Uninstall lapack-devel.x86_64 on Amazon Linux 2

To uninstall only the lapack-devel.x86_64 package we can use the following command:

sudo yum remove lapack-devel.x86_64

lapack-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/lapacke
/usr/include/lapacke/lapacke.h
/usr/include/lapacke/lapacke_config.h
/usr/include/lapacke/lapacke_mangling.h
/usr/include/lapacke/lapacke_mangling_with_flags.h
/usr/include/lapacke/lapacke_utils.h
/usr/lib64/liblapack.so
/usr/lib64/liblapacke.so

References

Summary

In this tutorial we learn how to install lapack-devel.x86_64 on Amazon Linux 2 using yum.