2 added 72 characters in body
source | link

[dvd]

name=Red Hat Enterprise Linux Installation DVD

baseurl=file:///media/dvd

enabled=0.

[dvd]
name=Red Hat Enterprise Linux Installation DVD
baseurl=file:///media/dvd
enabled=0.

I'm able to search packages. However while installation I'm getting below error:

[root@localhost dvd]# yum install libstdc++.x86_64

Loaded plugins: rhnplugin, security

This system is not registered with RHN.

RHN support will be disabled.

Setting up Install Process

Nothing to do

[root@localhost dvd]# yum install libstdc++.x86_64
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Nothing to do

[root@localhost dvd]# yum search gcc Loaded plugins: rhnplugin, security This system is not registered with RHN. RHN support will be disabled. ============================================================================= Matched: gcc ============================================================================= compat-libgcc-296.i386 : Compatibility 2.96-RH libgcc library compat-libstdc++-296.i386 : Compatibility 2.96-RH standard C++ libraries compat-libstdc++-33.i386 : Compatibility standard C++ libraries compat-libstdc++-33.x86_64 : Compatibility standard C++ libraries cpp.x86_64 : The C Preprocessor. libgcc.i386 : GCC version 4.1 shared support library libgcc.x86_64 : GCC version 4.1 shared support library libgcj.i386 : Java runtime library for gcc libgcj.x86_64 : Java runtime library for gcc libstdc++.i386 : GNU Standard C++ Library libstdc++.x86_64 : GNU Standard C++ Library libtermcap.i386 : A basic system library for accessing the termcap database. libtermcap.x86_64 : A basic system library for accessing the termcap database.

[root@localhost dvd]# yum search gcc
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
============================================================================= Matched: gcc =============================================================================
compat-libgcc-296.i386 : Compatibility 2.96-RH libgcc library
compat-libstdc++-296.i386 : Compatibility 2.96-RH standard C++ libraries
compat-libstdc++-33.i386 : Compatibility standard C++ libraries
compat-libstdc++-33.x86_64 : Compatibility standard C++ libraries
cpp.x86_64 : The C Preprocessor.
libgcc.i386 : GCC version 4.1 shared support library
libgcc.x86_64 : GCC version 4.1 shared support library
libgcj.i386 : Java runtime library for gcc
libgcj.x86_64 : Java runtime library for gcc
libstdc++.i386 : GNU Standard C++ Library
libstdc++.x86_64 : GNU Standard C++ Library
libtermcap.i386 : A basic system library for accessing the termcap database.
libtermcap.x86_64 : A basic system library for accessing the termcap database.

[dvd]

name=Red Hat Enterprise Linux Installation DVD

baseurl=file:///media/dvd

enabled=0.

I'm able to search packages. However while installation I'm getting below error:

[root@localhost dvd]# yum install libstdc++.x86_64

Loaded plugins: rhnplugin, security

This system is not registered with RHN.

RHN support will be disabled.

Setting up Install Process

Nothing to do

[root@localhost dvd]# yum search gcc Loaded plugins: rhnplugin, security This system is not registered with RHN. RHN support will be disabled. ============================================================================= Matched: gcc ============================================================================= compat-libgcc-296.i386 : Compatibility 2.96-RH libgcc library compat-libstdc++-296.i386 : Compatibility 2.96-RH standard C++ libraries compat-libstdc++-33.i386 : Compatibility standard C++ libraries compat-libstdc++-33.x86_64 : Compatibility standard C++ libraries cpp.x86_64 : The C Preprocessor. libgcc.i386 : GCC version 4.1 shared support library libgcc.x86_64 : GCC version 4.1 shared support library libgcj.i386 : Java runtime library for gcc libgcj.x86_64 : Java runtime library for gcc libstdc++.i386 : GNU Standard C++ Library libstdc++.x86_64 : GNU Standard C++ Library libtermcap.i386 : A basic system library for accessing the termcap database. libtermcap.x86_64 : A basic system library for accessing the termcap database.

[dvd]
name=Red Hat Enterprise Linux Installation DVD
baseurl=file:///media/dvd
enabled=0.

I'm able to search packages. However while installation I'm getting below error:

[root@localhost dvd]# yum install libstdc++.x86_64
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Nothing to do
[root@localhost dvd]# yum search gcc
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
============================================================================= Matched: gcc =============================================================================
compat-libgcc-296.i386 : Compatibility 2.96-RH libgcc library
compat-libstdc++-296.i386 : Compatibility 2.96-RH standard C++ libraries
compat-libstdc++-33.i386 : Compatibility standard C++ libraries
compat-libstdc++-33.x86_64 : Compatibility standard C++ libraries
cpp.x86_64 : The C Preprocessor.
libgcc.i386 : GCC version 4.1 shared support library
libgcc.x86_64 : GCC version 4.1 shared support library
libgcj.i386 : Java runtime library for gcc
libgcj.x86_64 : Java runtime library for gcc
libstdc++.i386 : GNU Standard C++ Library
libstdc++.x86_64 : GNU Standard C++ Library
libtermcap.i386 : A basic system library for accessing the termcap database.
libtermcap.x86_64 : A basic system library for accessing the termcap database.
    Tweeted twitter.com/#!/ServerFault/status/252330019483942912
1
source | link

My yum repository able to search packages, but not able to install it in RHEL?

I set up yum from dvd. Following is the containts of my .repo file:

[dvd]

name=Red Hat Enterprise Linux Installation DVD

baseurl=file:///media/dvd

enabled=0.

I'm able to search packages. However while installation I'm getting below error:

[root@localhost dvd]# yum install libstdc++.x86_64

Loaded plugins: rhnplugin, security

This system is not registered with RHN.

RHN support will be disabled.

Setting up Install Process

Nothing to do

My Yum Search output:

[root@localhost dvd]# yum search gcc Loaded plugins: rhnplugin, security This system is not registered with RHN. RHN support will be disabled. ============================================================================= Matched: gcc ============================================================================= compat-libgcc-296.i386 : Compatibility 2.96-RH libgcc library compat-libstdc++-296.i386 : Compatibility 2.96-RH standard C++ libraries compat-libstdc++-33.i386 : Compatibility standard C++ libraries compat-libstdc++-33.x86_64 : Compatibility standard C++ libraries cpp.x86_64 : The C Preprocessor. libgcc.i386 : GCC version 4.1 shared support library libgcc.x86_64 : GCC version 4.1 shared support library libgcj.i386 : Java runtime library for gcc libgcj.x86_64 : Java runtime library for gcc libstdc++.i386 : GNU Standard C++ Library libstdc++.x86_64 : GNU Standard C++ Library libtermcap.i386 : A basic system library for accessing the termcap database. libtermcap.x86_64 : A basic system library for accessing the termcap database.

Please guide me on this, I want to install gcc on my RHEL.