How do I install libstdc++?
Often libstdc++ comes pre-installed as an integral part of many existing Linux and Unix systems, as well as many embedded development tools. It may be necessary to install extra development packages to get the headers, or the documentation, or the source: please consult your vendor for details. To build and install from the GNU GCC sources, please consult the install documentation for detailed instructions. You may wish to browse those files ahead of time to get a feel for what’s required.