How To Install libstdc++.x86_64 on Amazon Linux 2
In this tutorial we learn how to install libstdc++.x86_64 in Amazon Linux 2. libstdc++.x86_64 is GNU Standard C++ Library
Introduction
In this tutorial we learn how to install libstdc++.x86_64
on Amazon Linux 2.
What is libstdc++.x86_64
The libstdc++ package contains a rewritten standard compliant GCC Standard C++ Library.
We can use yum
to install libstdc++.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libstdc++.x86_64.
Install libstdc++.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 libstdc++.x86_64
using yum
by running the following command:
sudo yum -y install libstdc++.x86_64
How To Uninstall libstdc++.x86_64 on Amazon Linux 2
To uninstall only the libstdc++.x86_64
package we can use the following command:
sudo yum remove libstdc++.x86_64
libstdc++.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/libstdc++.so.6
/usr/lib64/libstdc++.so.6.0.24
/usr/share/gcc-7
/usr/share/gcc-7/python
/usr/share/gcc-7/python/libstdcxx
/usr/share/gcc-7/python/libstdcxx/__init__.py
/usr/share/gcc-7/python/libstdcxx/__init__.pyc
/usr/share/gcc-7/python/libstdcxx/__init__.pyo
/usr/share/gcc-7/python/libstdcxx/v6
/usr/share/gcc-7/python/libstdcxx/v6/__init__.py
/usr/share/gcc-7/python/libstdcxx/v6/__init__.pyc
/usr/share/gcc-7/python/libstdcxx/v6/__init__.pyo
/usr/share/gcc-7/python/libstdcxx/v6/printers.py
/usr/share/gcc-7/python/libstdcxx/v6/printers.pyc
/usr/share/gcc-7/python/libstdcxx/v6/printers.pyo
/usr/share/gcc-7/python/libstdcxx/v6/xmethods.py
/usr/share/gcc-7/python/libstdcxx/v6/xmethods.pyc
/usr/share/gcc-7/python/libstdcxx/v6/xmethods.pyo
/usr/share/gdb
/usr/share/gdb/auto-load
/usr/share/gdb/auto-load/usr
/usr/share/gdb/auto-load/usr/lib64
/usr/share/gdb/auto-load/usr/lib64/libstdc++.so.6.0.24-gdb.py
/usr/share/gdb/auto-load/usr/lib64/libstdc++.so.6.0.24-gdb.pyc
/usr/share/gdb/auto-load/usr/lib64/libstdc++.so.6.0.24-gdb.pyo
/usr/share/locale/de/LC_MESSAGES/libstdc++.mo
/usr/share/locale/fr/LC_MESSAGES/libstdc++.mo
References
Summary
In this tutorial we learn how to install libstdc++.x86_64
on Amazon Linux 2 using yum.