I am trying to install GCC in a rhel 7 server
But I'm getting this error.
# sudo rpm -ivh gcc-4.8.5-39.el7.x86_64.rpmerror: Failed dependencies: cpp = 4.8.5-39.el7 is needed by gcc-4.8.5-39.el7.x86_64 glibc-devel >= 2.2.90-12 is needed by gcc-4.8.5-39.el7.x86_64 libmpc.so.3()(64bit) is needed by gcc-4.8.5-39.el7.x86_64 libmpfr.so.4()(64bit) is needed by gcc-4.8.5-39.el7.x86_64
How to solve this error. Is there a guide to install gcc and do ubuntu's build-essential equivalent in rhel 7 offline
Any suggestion would help me
Thanks in advance