Originally Posted by bineet
i m bigneer to redhat.
If your using something red hat based then with root privilages type "yum install gcc". If it's something else, state the actual distro, differen distros use different package managers, red hat only really uses yum where something like debian or ubuntu use apt-get.
For editting .bashrc just type nano ~/.bashrc