title: how to install gcc 4.9.2 on RHEL 7.4
body: <p>I am trying to install gcc and g++ 4.9.2 on Linux. I'm pretty new with Linux and i saw some guides of how to install, but each time I encountered with another problem. I don't have any gcc right now on my machine.
  my Linux version is:
  Red Hat Enterprise Linux Server release 7.4 (Maipo)
  can someone help me and give me instructions from the beginning to the end how to do this properly?
  thank you very much.</p>