How To Install compat-libstdc++-33.x86_64 on Amazon Linux 2

In this tutorial we learn how to install compat-libstdc++-33.x86_64 in Amazon Linux 2. compat-libstdc++-33.x86_64 is Compatibility standard C++ libraries

Introduction

In this tutorial we learn how to install compat-libstdc++-33.x86_64 on Amazon Linux 2.

What is compat-libstdc++-33.x86_64

The compat-libstdc++ package contains compatibility standard C++ library from GCC 3.3.4.

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

Install compat-libstdc++-33.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 compat-libstdc++-33.x86_64 using yum by running the following command:

sudo yum -y install compat-libstdc++-33.x86_64

How To Uninstall compat-libstdc++-33.x86_64 on Amazon Linux 2

To uninstall only the compat-libstdc++-33.x86_64 package we can use the following command:

sudo yum remove compat-libstdc++-33.x86_64

compat-libstdc++-33.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libstdc++.so.5
/usr/lib64/libstdc++.so.5.0.7

References

Summary

In this tutorial we learn how to install compat-libstdc++-33.x86_64 on Amazon Linux 2 using yum.