installing compiler

Posted on 2005-05-11
Last Modified: 2013-12-06
I have SSH access to the server, but I am not sure which os it runs on. Output of uname -a was:

Linux ****.com 2.4.20-021stab022-smp #1 SMP Thu Oct 14 04:46:52 MSD 2004 i686 i686 i386 GNU/Linux

This system does not have any compiler installed. I need to install the compiler without reinstalling the os. Where can I download proper gcc*.rpm files and librarys for that. I just need to be able compile c++.

Any ides.
Question by:g00r00
    LVL 14

    Expert Comment

    you can try it's ver comprehensive

    LVL 38

    Expert Comment

    rpm --version
    to see if rpm is installed first.

    Then as root
    locate gcc

    If rpm or gcc don't exist, then the server probably not allow you to install third party softwares
    unless you talk with the server administrator/technical support to ask how.

    Author Comment

    rpm is installed, and gcc is not. Can some one give me good description on how to install gcc.

    to wesly_chen:
    i am the administrator :)

    LVL 38

    Expert Comment

    > 2.4.20-021stab022-smp
    What kind of linux server do you have?
    cat /etc/release

    Author Comment

    Red Hat Enterprise Linux ES release 3 (Taroon Update 2)
    LVL 38

    Accepted Solution

    So the kernel is customized compiled, isn't it?
    Anyway, it doesn't matter.
    Red Hat Enterprise Linux ES release 3 is commerical version. You can not download the binary rpm from internet for free.
    So you need regiester to  (Assume that you have the activation number)
    and run
    up2date --nox --register
    to register your system on
    After successful registration, you can issue
    up2date --install gcc
    to install gcc.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
    I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension ( This reminded me of questions tha…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now