How To Install llvm-libs.x86_64 on Amazon Linux 2

In this tutorial we learn how to install llvm-libs.x86_64 in Amazon Linux 2. llvm-libs.x86_64 is LLVM shared libraries

Introduction

In this tutorial we learn how to install llvm-libs.x86_64 on Amazon Linux 2.

What is llvm-libs.x86_64

Shared libraries for the LLVM compiler infrastructure.

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

Install llvm-libs.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 llvm-libs.x86_64 using yum by running the following command:

sudo yum -y install llvm-libs.x86_64

How To Uninstall llvm-libs.x86_64 on Amazon Linux 2

To uninstall only the llvm-libs.x86_64 package we can use the following command:

sudo yum remove llvm-libs.x86_64

llvm-libs.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/LLVMgold.so
/usr/lib64/bfd-plugins/LLVMgold.so
/usr/lib64/libLLVM-11.1.0.so
/usr/lib64/libLLVM-11.so
/usr/lib64/libLTO.so
/usr/lib64/libLTO.so.11
/usr/lib64/libRemarks.so
/usr/lib64/libRemarks.so.11
/usr/share/licenses/llvm-libs-11.1.0
/usr/share/licenses/llvm-libs-11.1.0/LICENSE.TXT

References

Summary

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