Fedora 25 (64bit) we got the error
g++ not found.
We could have installed
sudo dnf install gcc-c++ -y;
But we wanted to install all common additional development tools that we might need for
C/C++ development in the future without going over the list of available packages to find which ones.
To do so, we installed all the packages of the group that is marked to be used for C development using
dnf as follows:
sudo dnf group install "C Development Tools and Libraries" -y;