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

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

Introduction

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

What is llvm7.0-libs.i686

Shared libraries for the LLVM compiler infrastructure.

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

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

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

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

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

sudo yum remove llvm7.0-libs.i686

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

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

References

Summary

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