The objective of this guide is to install GCC the C compiler on RHEL 8 and perform compilation of a basic C "Hello World" program. The GCC compiler can be installed in RHEL 8 by simply using the dnf install command.
This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-install-gcc-compiler-in-redhat-linux-8