yum install oracle-validated for Oracle Enterprise Linux 5

To install an oracle database on linux, use the oracle-validated package from the Oracle Repository to satisfy all the system per-requisite:

cd /etc/yum.repos.d/
wget http://public-yum.oracle.com/public-yum-el5.repo
#enable your oel in cat /etc/redhat-release
vi public-yum-el5.repo   
yum install oracle-validated

You should have the following output:

[root@localhost yum.repos.d]# yum install oracle-validated
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
ULN support will be disabled.
ol5_u8_base                                                                                                  | 1.4 kB     00:00     
ol5_u8_base/primary                                                                                          | 1.5 MB     00:01     
ol5_u8_base                                                                                                               4639/4639
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package oracle-validated.x86_64 0:1.1.0-15.el5 set to be updated
ol5_u8_base/filelists                                                                                        | 3.2 MB     00:05     
--> Processing Dependency: libXp.so.6 for package: oracle-validated
--> Processing Dependency: /usr/lib/libodbccr.so for package: oracle-validated
--> Processing Dependency: /usr/lib64/libc.so for package: oracle-validated
--> Processing Dependency: gcc-c++ for package: oracle-validated
--> Processing Dependency: gcc for package: oracle-validated
--> Processing Dependency: /usr/lib64/libodbccr.so for package: oracle-validated
--> Processing Dependency: unixODBC-devel for package: oracle-validated
--> Processing Dependency: libaio-devel for package: oracle-validated
--> Processing Dependency: elfutils-libelf-devel for package: oracle-validated
--> Processing Dependency: /usr/lib64/libaio.so for package: oracle-validated
--> Processing Dependency: glibc-headers for package: oracle-validated
--> Processing Dependency: /usr/lib/libodbc.so.1 for package: oracle-validated
--> Processing Dependency: sysstat for package: oracle-validated
--> Processing Dependency: /usr/lib/libaio.so for package: oracle-validated
--> Processing Dependency: /usr/lib/libc.so for package: oracle-validated
--> Processing Dependency: /usr/lib/gcc/x86_64-redhat-linux/4.1.1/libstdc++.a for package: oracle-validated
--> Processing Dependency: libodbc.so.1()(64bit) for package: oracle-validated
--> Running transaction check
---> Package elfutils-libelf-devel.x86_64 0:0.137-3.el5 set to be updated
--> Processing Dependency: elfutils-libelf-devel-static-x86_64 = 0.137-3.el5 for package: elfutils-libelf-devel
---> Package gcc.x86_64 0:4.1.2-52.el5 set to be updated
---> Package gcc-c++.x86_64 0:4.1.2-52.el5 set to be updated
---> Package glibc-devel.i386 0:2.5-81 set to be updated
---> Package glibc-devel.x86_64 0:2.5-81 set to be updated
---> Package glibc-headers.x86_64 0:2.5-81 set to be updated
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers
--> Processing Dependency: kernel-headers for package: glibc-headers
---> Package libXp.i386 0:1.0.0-8.1.el5 set to be updated
---> Package libaio-devel.i386 0:0.3.106-5 set to be updated
---> Package libaio-devel.x86_64 0:0.3.106-5 set to be updated
---> Package libstdc++-devel.x86_64 0:4.1.2-52.el5 set to be updated
---> Package sysstat.x86_64 0:7.0.2-11.el5 set to be updated
---> Package unixODBC-devel.i386 0:2.2.11-10.el5 set to be updated
--> Processing Dependency: unixODBC = 2.2.11-10.el5 for package: unixODBC-devel
---> Package unixODBC-devel.x86_64 0:2.2.11-10.el5 set to be updated
---> Package unixODBC-libs.i386 0:2.2.11-10.el5 set to be updated
---> Package unixODBC-libs.x86_64 0:2.2.11-10.el5 set to be updated
--> Running transaction check
---> Package elfutils-libelf-devel-static.x86_64 0:0.137-3.el5 set to be updated
---> Package kernel-headers.x86_64 0:2.6.18-308.el5 set to be updated
---> Package unixODBC.x86_64 0:2.2.11-10.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================
 Package                                     Arch                  Version                         Repository                  Size
====================================================================================================================================
Installing:
 oracle-validated                            x86_64                1.1.0-15.el5                    ol5_u8_base                 24 k
Installing for dependencies:
 elfutils-libelf-devel                       x86_64                0.137-3.el5                     ol5_u8_base                 24 k
 elfutils-libelf-devel-static                x86_64                0.137-3.el5                     ol5_u8_base                 64 k
 gcc                                         x86_64                4.1.2-52.el5                    ol5_u8_base                5.3 M
 gcc-c++                                     x86_64                4.1.2-52.el5                    ol5_u8_base                3.8 M
 glibc-devel                                 i386                  2.5-81                          ol5_u8_base                2.0 M
 glibc-devel                                 x86_64                2.5-81                          ol5_u8_base                2.4 M
 glibc-headers                               x86_64                2.5-81                          ol5_u8_base                596 k
 kernel-headers                              x86_64                2.6.18-308.el5                  ol5_u8_base                1.4 M
 libXp                                       i386                  1.0.0-8.1.el5                   ol5_u8_base                 22 k
 libaio-devel                                i386                  0.3.106-5                       ol5_u8_base                 12 k
 libaio-devel                                x86_64                0.3.106-5                       ol5_u8_base                 11 k
 libstdc++-devel                             x86_64                4.1.2-52.el5                    ol5_u8_base                2.8 M
 sysstat                                     x86_64                7.0.2-11.el5                    ol5_u8_base                187 k
 unixODBC                                    x86_64                2.2.11-10.el5                   ol5_u8_base                291 k
 unixODBC-devel                              i386                  2.2.11-10.el5                   ol5_u8_base                738 k
 unixODBC-devel                              x86_64                2.2.11-10.el5                   ol5_u8_base                793 k
 unixODBC-libs                               i386                  2.2.11-10.el5                   ol5_u8_base                551 k
 unixODBC-libs                               x86_64                2.2.11-10.el5                   ol5_u8_base                554 k

Transaction Summary
====================================================================================================================================
Install      19 Package(s)
Upgrade       0 Package(s)

Total download size: 21 M
Is this ok [y/N]: y
Downloading Packages:
(1/19): libaio-devel-0.3.106-5.x86_64.rpm                                                                    |  11 kB     00:00     
(2/19): libaio-devel-0.3.106-5.i386.rpm                                                                      |  12 kB     00:00     
(3/19): libXp-1.0.0-8.1.el5.i386.rpm                                                                         |  22 kB     00:00     
(4/19): oracle-validated-1.1.0-15.el5.x86_64.rpm                                                             |  24 kB     00:00     
(5/19): elfutils-libelf-devel-0.137-3.el5.x86_64.rpm                                                         |  24 kB     00:00     
(6/19): elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm                                                  |  64 kB     00:02     
(7/19): sysstat-7.0.2-11.el5.x86_64.rpm                                                                      | 187 kB     00:05     
(8/19): unixODBC-2.2.11-10.el5.x86_64.rpm                                                                    | 291 kB     00:09     
(9/19): unixODBC-libs-2.2.11-10.el5.i386.rpm                                                                 | 551 kB     00:16     
(10/19): unixODBC-libs-2.2.11-10.el5.x86_64.rpm                                                              | 554 kB     00:04     
(11/19): glibc-headers-2.5-81.x86_64.rpm                                                                     | 596 kB     00:03     
(12/19): unixODBC-devel-2.2.11-10.el5.i386.rpm                                                               | 738 kB     00:03     
(13/19): unixODBC-devel-2.2.11-10.el5.x86_64.rpm                                                             | 793 kB     00:05     
(14/19): kernel-headers-2.6.18-308.el5.x86_64.rpm                                                            | 1.4 MB     00:05     
(15/19): glibc-devel-2.5-81.i386.rpm                                                                         | 2.0 MB     00:04     
(16/19): glibc-devel-2.5-81.x86_64.rpm                                                                       | 2.4 MB     00:07     
(17/19): libstdc++-devel-4.1.2-52.el5.x86_64.rpm                                                             | 2.8 MB     00:03     
(18/19): gcc-c++-4.1.2-52.el5.x86_64.rpm                                                                     | 3.8 MB     00:09     
(19/19): gcc-4.1.2-52.el5.x86_64.rpm                                                                         | 5.3 MB     00:08     
------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                               218 kB/s |  21 MB     01:40     
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 1e5e0159
ol5_u8_base/gpgkey                                                                                           | 1.4 kB     00:00     
Importing GPG key 0x1E5E0159 "Oracle OSS group (Open Source Software group) <build@oss.oracle.com>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : unixODBC-libs                                                                                               1/19 
  Installing     : unixODBC                                                                                                    2/19 
  Installing     : libstdc++-devel                                                                                             3/19 
  Installing     : sysstat                                                                                                     4/19 
  Installing     : unixODBC-devel                                                                                              5/19 
  Installing     : kernel-headers                                                                                              6/19 
  Installing     : glibc-headers                                                                                               7/19 
  Installing     : glibc-devel                                                                                                 8/19 
  Installing     : glibc-devel                                                                                                 9/19 
  Installing     : libaio-devel                                                                                               10/19 
  Installing     : libaio-devel                                                                                               11/19 
  Installing     : unixODBC-libs                                                                                              12/19 
  Installing     : libXp                                                                                                      13/19 
  Installing     : gcc                                                                                                        14/19 
  Installing     : gcc-c++                                                                                                    15/19 
  Installing     : unixODBC-devel                                                                                             16/19 
  Installing     : elfutils-libelf-devel                                                                                      17/19 
  Installing     : oracle-validated                                                                                           18/19 
  Installing     : elfutils-libelf-devel-static                                                                               19/19 

Installed:
  oracle-validated.x86_64 0:1.1.0-15.el5                                                                                            

Dependency Installed:
  elfutils-libelf-devel.x86_64 0:0.137-3.el5                    elfutils-libelf-devel-static.x86_64 0:0.137-3.el5                   
  gcc.x86_64 0:4.1.2-52.el5                                     gcc-c++.x86_64 0:4.1.2-52.el5                                       
  glibc-devel.i386 0:2.5-81                                     glibc-devel.x86_64 0:2.5-81                                         
  glibc-headers.x86_64 0:2.5-81                                 kernel-headers.x86_64 0:2.6.18-308.el5                              
  libXp.i386 0:1.0.0-8.1.el5                                    libaio-devel.i386 0:0.3.106-5                                       
  libaio-devel.x86_64 0:0.3.106-5                               libstdc++-devel.x86_64 0:4.1.2-52.el5                               
  sysstat.x86_64 0:7.0.2-11.el5                                 unixODBC.x86_64 0:2.2.11-10.el5                                     
  unixODBC-devel.i386 0:2.2.11-10.el5                           unixODBC-devel.x86_64 0:2.2.11-10.el5                               
  unixODBC-libs.i386 0:2.2.11-10.el5                            unixODBC-libs.x86_64 0:2.2.11-10.el5                                

Complete!
[root@localhost yum.repos.d]# 
Advertisements

About Chenda Mok

19 years of hands on experience in software design and development with emphasis on Enterprise Application Integration (EAI), Services Oriented Architecture (SOA) and Identity Management (IDM) solutions. I’m a software engineer, member of the professional service delivery team working for Salesforce. Prior to this, I worked for Oracle as Solution Architect, through SeeBeyond(06/2005), then SUN’s acquisition (04/2009). After my master’s degree in computer science in 1997; I always delivered consulting on architecture, design, implementation on integration’s field. I’m interested in architecture using EAI/SOA/IDM/BPM/Cloud technologies, software development and Java’s related technologies. I may blog about my work/activities at Salesforce, but I do not speak for my employer, past, present or future.
This entry was posted in database, Linux, Linux, oracle and tagged . Bookmark the permalink.