RHEL gcc
Hello,
I just installed Redhat Enterprise Linux version 5.1.x on my computer and need to install/add the package for gcc. I am a total newbie, please advise how easiest to do this. |
Please do not post duplicate threads---leaving this one open since it is in the right forum.
I would assume that gcc is available using the package manager. Do you have this setup--with your RHN account, etc.? If you are not paying for RHEL then you will not be able to install things with the package manager---you will be better off iwth a different distro. |
Sorry about the double post.
I have paid for RHEL. I have not setup anything through my RHN account. I suppose this is the "support account"? |
Quote:
|
Should be as simple as :
1) su <password> 2) yum install gcc-c++ .. Which will install gcc, g++, and files required to use the compilers. .. |
Quote:
|
The package manager has search tools--personally, I'm not up on RedHat stuff and don't know the details.
In addition to YUM, have you used the GUI package manager? |
su
yum search gcc The file list (EL 5.3) says gcc-c++-4.1.2-44.el5 I don't know why you say "There is no gcc-c++ package" ? gcc-c++ : same name, all versions, any Redhat. Is also on the install DVD / 'cd : disk 2'. .. |
There's a nice list of yum cmds & meanings here
https://access.redhat.com/kb/docs/DOC-2531 |
A thought : The package gcc-c++ can be in a particular
development repo, not enabled ? Redhat has these groups for non server packages, I think. Please ask Redhat. If you only need the c compiler to work : # yum install gcc glibc-devel glibc-headers ...... P.S : EL 5.1 is an old version. The new version with the security updates : EL 5.5 . ( Is free to download. Only the account will cost. No account = no packages available.) ..... |
Quote:
Thanks |
Quote:
|
All times are GMT -5. The time now is 02:40 PM. |