How can I know which version of the C++ "standard library" is installed?

I would like to install the C++ standard library documentation (following the answers in Download C++ reference) but I do not know which version of library is installed in my Ubuntu.

2 Answers

Simple way to find the version of C++ standard library is

gcc --version

Hope this helps

1

Fire up synaptic and search for libstdc++ and see which version is installed, or run apt-cache search -n libstdc++ to see what versions are known, then you can check which one(s) are installed with apt-cache policy libstdc++-XXXX

3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like