Find the answer to your Linux question:
Results 1 to 8 of 8
Does anyone know where to get gcc and how to install it to a Red Hat Enterprise system? Thanks....
  1. #1
    Just Joined!
    Join Date
    Jul 2011
    Posts
    3

    how to install GCC onto Red Hat Enterprise system?

    Does anyone know where to get gcc and how to install it to a Red Hat Enterprise system? Thanks.

  2. #2
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,098
    Code:
    yum install gcc
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Jul 2011
    Posts
    3
    Quote Originally Posted by Irithori View Post
    Code:
    yum install gcc
    Thanks for your response.

    Does this "yum" command retrieve the GCC compiler from the Net, then, installs it to my Red Hat server, or is the compiler already on my server and just needs to be extracted out?

  4. #4
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,071
    Yum is the package manager.
    This program reaches out to the software repositories and retrieves gcc and all of the dependencies.
    It is then installed to your system.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  5. #5
    Just Joined!
    Join Date
    Jul 2011
    Posts
    3
    I am told that yum will not work on my Enterprise 4 Red Hat.

    yum works on Enterprise 5 or newer.

    Please advise. Thanks.

  6. #6
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,071
    RHEL 4 is getting pretty old, now.
    Is there any reason not to upgrade your system to a newer version?

    Anyways... have you installed yum to your system?
    If not, here is a page detailing how to go about it.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  7. #7
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,098
    I believe, the command before yum was up2date
    so this might be worth a try:
    up2date gcc

    May I ask, what you are actually trying to achieve by installing gcc?


    Other than that, rh4 is quite old, any chance of upgrading?
    You must always face the curtain with a bow.

  8. #8
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    The gcc compiler should have been installed by default, but if not, you can use the "rpm" command to install it, assuming you have a valid support license from Red Hat. If not, then you will either need to download the rpm files for gcc (and dependencies), or switch over to an RHEL 4 clone, such as CentOS or Scientific Linux that does not require paid-for support contracts.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...