I'd like to experiment with the new GCC 5.1 C++ compiler on Ubuntu.
So, I downloaded and installed Linux Ubuntu desktop 15.04 64-bit in a virtual machine.
Then, in the terminal, I entered the following commands:
sudo apt-get update sudo apt-get install g++5
Several packages where downloaded and installed; but when I enter:
I still get:
g++ (Ubuntu 4.9.2-10ubuntu13) 4.9.2
I also tried (from this question):
sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get update sudo apt-get install g++-5
But I still get 4.9.2 as output from
What should I do to try g++ 5.1, without building the whole thing from sources?
Is it possible to install pre-built binaries?