How can I know which version of the C++ "standard library" is installed?
28,150
Solution 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
Solution 2
Simple way to find the version of C++ standard library is
gcc --version
Hope this helps
Related videos on Youtube
![Alessandro Jacopson](https://i.stack.imgur.com/NoiuG.png?s=256&g=1)
Comments
-
Alessandro Jacopson almost 2 years
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.
-
Tachyons over 11 yearsThis method won't work if he installed g++ from source
-
psusi over 11 years@tachyons, then he wouldn't be asking the question ;)
-
kirill_igum almost 8 yearsdoesn't mean that the c++ library is installed
-
Derek Eden about 4 yearslol enough said