How To Install mesa-private-llvm.x86_64 on Amazon Linux 2

In this tutorial we learn how to install mesa-private-llvm.x86_64 in Amazon Linux 2. mesa-private-llvm.x86_64 is llvm engine for Mesa

Introduction

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

What is mesa-private-llvm.x86_64

This package contains the LLVM-based runtime support for Mesa. It is not a fully-featured build of LLVM, and use by any package other than Mesa is not supported.

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

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

sudo yum -y install mesa-private-llvm.x86_64

How To Uninstall mesa-private-llvm.x86_64 on Amazon Linux 2

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

sudo yum remove mesa-private-llvm.x86_64

mesa-private-llvm.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libLLVM-3.9-mesa.so
/usr/lib64/libLLVM-3.9.1-mesa.so
/usr/share/doc/mesa-private-llvm-3.9.1
/usr/share/doc/mesa-private-llvm-3.9.1/LICENSE.TXT

References

Summary

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