How To Install llvm7.0-libs.x86_64 on Amazon Linux 2

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

Introduction

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

What is llvm7.0-libs.x86_64

Shared libraries for the LLVM compiler infrastructure.

We can use yum to install llvm7.0-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 llvm7.0-libs.x86_64.

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

sudo yum -y install llvm7.0-libs.x86_64

How To Uninstall llvm7.0-libs.x86_64 on Amazon Linux 2

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

sudo yum remove llvm7.0-libs.x86_64

llvm7.0-libs.x86_64 Package Contents on Amazon Linux 2

/etc/ld.so.conf.d/llvm7.0-x86_64.conf
/usr/lib64/llvm7.0/lib/BugpointPasses.so
/usr/lib64/llvm7.0/lib/LLVMHello.so
/usr/lib64/llvm7.0/lib/LLVMgold.so
/usr/lib64/llvm7.0/lib/libLLVM-7.0.1.so
/usr/lib64/llvm7.0/lib/libLLVM-7.so
/usr/lib64/llvm7.0/lib/libLTO.so.7

References

Summary

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