Why not use GCC (GNU Compiler Collection), specifically `g++` which is the component used for compiling C++ programs? This would be the default, and most common choice, on Linux. Unless I'm mistaken, GCC and g++ should already be installed. Try in a console:
to see if it is already there.