How To Install clang-resource-filesystem.i686 on Amazon Linux 2

In this tutorial we learn how to install clang-resource-filesystem.i686 in Amazon Linux 2. clang-resource-filesystem.i686 is Filesystem package that owns the clang resource directory

Introduction

In this tutorial we learn how to install clang-resource-filesystem.i686 on Amazon Linux 2.

What is clang-resource-filesystem.i686

This package owns the clang resouce directory $libdir/clang/$version/

We can use yum to install clang-resource-filesystem.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install clang-resource-filesystem.i686.

Install clang-resource-filesystem.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 clang-resource-filesystem.i686 using yum by running the following command:

sudo yum -y install clang-resource-filesystem.i686

How To Uninstall clang-resource-filesystem.i686 on Amazon Linux 2

To uninstall only the clang-resource-filesystem.i686 package we can use the following command:

sudo yum remove clang-resource-filesystem.i686

clang-resource-filesystem.i686 Package Contents on Amazon Linux 2

/usr/lib/clang/11
/usr/lib/clang/11.1.0
/usr/lib/clang/11.1.0/include
/usr/lib/clang/11.1.0/lib
/usr/lib/clang/11.1.0/share

References

Summary

In this tutorial we learn how to install clang-resource-filesystem.i686 on Amazon Linux 2 using yum.