How To Install libgccjit.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libgccjit.x86_64 in Amazon Linux 2. libgccjit.x86_64 is Library for embedding GCC inside programs and libraries

Introduction

In this tutorial we learn how to install libgccjit.x86_64 on Amazon Linux 2.

What is libgccjit.x86_64

This package contains shared library with GCC JIT front-end.

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

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

sudo yum -y install libgccjit.x86_64

How To Uninstall libgccjit.x86_64 on Amazon Linux 2

To uninstall only the libgccjit.x86_64 package we can use the following command:

sudo yum remove libgccjit.x86_64

libgccjit.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libgccjit.so.0
/usr/lib64/libgccjit.so.0.0.1
/usr/share/doc/libgccjit-7.3.1
/usr/share/doc/libgccjit-7.3.1/ChangeLog.bz2
/usr/share/doc/libgccjit-7.3.1/ChangeLog.jit.bz2

References

Summary

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