How To Install system-lsb-cxx.x86_64 on Amazon Linux 2

In this tutorial we learn how to install system-lsb-cxx.x86_64 in Amazon Linux 2. system-lsb-cxx.x86_64 is LSB CXX module support

Introduction

In this tutorial we learn how to install system-lsb-cxx.x86_64 on Amazon Linux 2.

What is system-lsb-cxx.x86_64

The Linux Standard Base (LSB) CXX module supports the core interfaces by providing system interfaces, libraries, and a runtime environment for applications built using the C++ programming language. These interfaces provide low-level support for the core constructs of the language, and implement the standard base C++ libraries.

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

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

sudo yum -y install system-lsb-cxx.x86_64

How To Uninstall system-lsb-cxx.x86_64 on Amazon Linux 2

To uninstall only the system-lsb-cxx.x86_64 package we can use the following command:

sudo yum remove system-lsb-cxx.x86_64

system-lsb-cxx.x86_64 Package Contents on Amazon Linux 2

/etc/lsb-release.d/cxx-4.1-amd64
/etc/lsb-release.d/cxx-4.1-noarch
/usr/share/lsb/4.1/modules/cxx
/usr/share/lsb/4.1/modules/cxx/cpp-4.1-amd64
/usr/share/lsb/4.1/modules/cxx/cpp-4.1-noarch
/usr/share/lsb/4.1/submodules/cpp-4.1-amd64
/usr/share/lsb/4.1/submodules/cpp-4.1-noarch

References

Summary

In this tutorial we learn how to install system-lsb-cxx.x86_64 on Amazon Linux 2 using yum.