> Hi, does anyone know how to install gnu C compiler on Red Hat Enterprise
> 4? Where to download it and instructions to install it? Thanks.
Have you tried to use YUM or does RH4 use UP2DATE
--
Regards
Robert
Linux
The adventure of a lifetime.
Linux User #296285
Get Counted
http://counter.li.org/
If it is like CentOS 4:
yum install gcc libgcc
will install the standard 3.4.6 compiler, while
yum install gcc4
will install a (preview of) the 4.x compiler (4.1.2).
As Red Hat Enterprise 4 is so old, that's it (current release is
RHEL 6).
PS: you must have the right Red Hat Enterprise repositories enabled in
/etc/yum.repos.d
and have the right to access those, I don't know what the
rules for RHEL 4 are.
We here only have their CentOS equivalents (4.8 and 5.6), we haven't
got a RHEL license.
--
******************************************************************
** Eef Hartman, Delft University of Technology, dept. SSC/ICT **
** e-mail: E.J.M....@tudelft.nl - phone: +31-15-27 82525 **
******************************************************************
Eef, and OP,
On RHEL 4 after you register the server or workstation to RHN
up2date gcc
will install the product and it's dependancies.
yum is only available on RHEL5 and newer.
How was RHEL 4 installed, for the gcc should also be on your
installation CD's.
Kind regards,
Jan Gerrit
It _is_ in our CentOS 4 system:
$ rpm -qa|grep yum
yum-metadata-parser-1.0-8.el4.centos
yum-2.4.3-4.el4.centos
yum-plugin-priorities-0.0.7-2.c4
but that - of course - may be a CentOS addition.
As I said before, we don't have a "real" RHEL here, just the
CentOS equivalents.
By the way:
$ cat /etc/redhat-release
CentOS release 4.9 (Final)
is what's installed here (on ONE system) because of some project that
needs the compile environment of gcc 3.x (we've got both 3.4.6 as well
as 3.2.3 installed there).