Installing oracle-validated from an Oracle Enterprise Linux DVD using yum

In an earlier post, I mentioned that the Enterprise Linux 5 Update 2 installation media have the oracle-validated RPM on it. The same is true for the Enterprise Linux 4 Update 7 media.

If you don't have access to ULN, and you want to install oracle-validated including its dependencies, here's a quick way to set up yum to use an Oracle Enterprise Linux DVD that doesn't require copying all RPMs from the DVD. I performed the following steps using Oracle Enterprise Linux 5, Update 2 x86-64, as root:

  1. # mkdir /media/disk
  2. Insert EL5.2 DVD (or attach to your Oracle VM guest)
  3. # mount /dev/cdrom /media/disk
  4. Edit /etc/yum.conf, adding the following section:
    [EL5.2 DVD]
    name = Enterprise Linux 5.2 DVD
    baseurl=file:///media/disk/Server/
    gpgcheck=1
    enabled=1
    
  5. # yum install oracle-validated

Note that edelivery.oracle.com/linux offers only free CD downloads of Oracle Enterprise Linux. The Unbreakable Linux Store. has DVDs for a nominal (shipping only) fee. DVDs are available as a free download starting with Oracle Enterprise Linux 4, Update 7. All other releases and updates can be for a nominal (shipping only) fee.

Comments:

Done this and got an error that libstdc++-devel-.....rpm public key is not installed. So how can I install the key?

Posted by Mike Reys on August 25, 2009 at 12:34 AM PDT #

@Mike: Try this: rpm --import http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5 Sergio

Posted by Sergio on August 25, 2009 at 03:02 AM PDT #

Or, without, network: # rpm --import /usr/share/rhn/RPM-GPG-KEY-oracle Sergio

Posted by Sergio on August 25, 2009 at 03:12 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

bocadmin_ww

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today