installed RHEL, but there's no GCC?

Thanks to your previous help, I installed RHEL 5 on my Dell. However, there appears to be no GCC (I want to install emacs, but need a C compiler, apparently). From what I've read on the web, this situation is not normal (in other words, GCC is included in most Linux distributions). I tried installing GCC but got nowhere, fast. Any ideas?
Thanks in advance for your comments.


Mostly Harmless
Staff member
Hi Deanne,

Try this as su in a shell:
yum install gcc
If it doesn't finish properly, please paste the output of that command here in a
Thanks! Here is the result.
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
  File "/usr/share/yum-cli/", line 85, in main
  File "/usr/share/yum-cli/", line 199, in getOptionsConfig
  File "/usr/lib/python2.4/site-packages/yum/", line 134, in doConfigSetup'init')
  File "/usr/lib/python2.4/site-packages/yum/", line 153, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/", line 75, in init_hook
    login_info = up2dateAuth.getLoginInfo()
  File "/usr/share/rhn/up2date_client/", line 139, in getLoginInfo
  File "/usr/share/rhn/up2date_client/", line 80, in login
    server = rhnserver.RhnServer()
  File "/usr/share/rhn/up2date_client/", line 144, in __init__
    self._server = rpcServer.getServer()
  File "/usr/share/rhn/up2date_client/", line 168, in getServer
    raise up2dateErrors.SSLCertificateFileNotFound(msg)
up2date_client.up2dateErrors.SSLCertificateFileNotFound: ERROR: can not find RHNS CA file: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT


One last thing--I think "as su" means "as root"? Let me know if that is wrong. I am logged in as root.
Last edited:
It turns out that my RedHat registration script was faulty, which was causing problems with yum and software installation in general. I ended up reinstalling RHEL, being sure to "Customize Software" during installation and selecting the programs I wanted. Then I obtained the correct registration script from my university. So I think I'm all set now! Thanks for pointing me in the right direction, CG. It was extremely helpful.


Mostly Harmless
Staff member
You're welcome, deanne. Let us know if there's anything else you need :smile: