Monday, November 11, 2013

Preparing for Opportunity Detection install - required Streams package


1. Mount cdrom
[root@rhel64-64 bin]# mount -o ro /dev/cdrom /mnt/cdrom

2. Install compat-libstdc++-33 
[root@rhel64-64 rpm]# yum install libstdc++.so.5 
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
server                                                                                                                                                   | 3.9 kB     00:00 ...
Setting up Install Process                                                                                                                                                     
Resolving Dependencies                                                                                                                                                         
--> Running transaction check                                                                                                                                                  
---> Package compat-libstdc++-33.i686 0:3.2.3-69.el6 will be installed                                                                                                         
--> Finished Dependency Resolution                                                                                                                                             
Dependencies Resolved
================================================================================================================================================================================
 Package                                            Arch                                Version                                     Repository                             Size
================================================================================================================================================================================
Installing:                                                                                                                                                                    
 compat-libstdc++-33                                i686                                3.2.3-69.el6                                server                                189 k
Transaction Summary
================================================================================================================================================================================
Install       1 Package(s)                                                                                                                                                     
Total download size: 189 k
Installed size: 716 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : compat-libstdc++-33-3.2.3-69.el6.i686                                                                                                                        1/1
  Verifying  : compat-libstdc++-33-3.2.3-69.el6.i686                                                                                                                        1/1
Installed:
  compat-libstdc++-33.i686 0:3.2.3-69.el6
Complete!

Note: You need compat-libstdc++  if not you will get the following error:
[root@rhel64-64 rpm]# rpm -ivh ibm-java-x86_64-sdk-6.0-12.0.x86_64.rpm
error: Failed dependencies:                                          
        libstdc++.so.5 is needed by ibm-java-x86_64-sdk-6.0-12.0.x86_64


3. Install required streams package:
[root@rhel64-64 rpm]# rpm -ivh ibm-java-x86_64-sdk-6.0-12.0.x86_64.rpm
Preparing...                ########################################### [100%]
   1:ibm-java-x86_64-sdk    ########################################### [100%]


4. Additional perl package:
[root@rhel64-64 rpm]# rpm -ivh perl-XML-Simple-2.18-6.el6.noarch.rpm
Preparing...                ########################################### [100%]
   1:perl-XML-Simple        ########################################### [100%]


5. Install policycoreutils-python
[root@rhel64-64 rpm]# yum install policycoreutils-python                                                                                                                        
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager                                                                                                  
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.                                                                 
Setting up Install Process                                                                                                                                                      
Resolving Dependencies                                                                                                                                                          
--> Running transaction check                                                                                                                                                   
---> Package policycoreutils-python.x86_64 0:2.0.83-19.30.el6 will be installed                                                                                                 
--> Processing Dependency: libsemanage-python >= 2.0.43-4 for package: policycoreutils-python-2.0.83-19.30.el6.x86_64                                                           
--> Processing Dependency: audit-libs-python >= 1.4.2-1 for package: policycoreutils-python-2.0.83-19.30.el6.x86_64                                                             
--> Processing Dependency: setools-libs-python for package: policycoreutils-python-2.0.83-19.30.el6.x86_64                                                                      
--> Running transaction check                                                                                                                                                   
---> Package audit-libs-python.x86_64 0:2.2-2.el6 will be installed                                                                                                             
---> Package libsemanage-python.x86_64 0:2.0.43-4.2.el6 will be installed                                                                                                       
---> Package setools-libs-python.x86_64 0:3.3.7-4.el6 will be installed                                                                                                         
--> Processing Dependency: setools-libs = 3.3.7-4.el6 for package: setools-libs-python-3.3.7-4.el6.x86_64                                                                       
--> Processing Dependency: libsefs.so.4(VERS_4.0)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64                                                                    
--> Processing Dependency: libseaudit.so.4(VERS_4.2)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64                                                                 
--> Processing Dependency: libseaudit.so.4(VERS_4.1)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64                                                                 
--> Processing Dependency: libqpol.so.1(VERS_1.4)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64                                                                    
--> Processing Dependency: libqpol.so.1(VERS_1.3)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64                                                                    
--> Processing Dependency: libqpol.so.1(VERS_1.2)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64                                                                    
--> Processing Dependency: libpoldiff.so.1(VERS_1.3)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64                                                                 
--> Processing Dependency: libpoldiff.so.1(VERS_1.2)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64                                                                 
--> Processing Dependency: libapol.so.4(VERS_4.1)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64                                                                    
--> Processing Dependency: libapol.so.4(VERS_4.0)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64                                                                    
--> Processing Dependency: libsefs.so.4()(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64                                                                            
--> Processing Dependency: libseaudit.so.4()(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64                                                                         
--> Processing Dependency: libqpol.so.1()(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64                                                                            
--> Processing Dependency: libpoldiff.so.1()(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64                                                                         
--> Processing Dependency: libapol.so.4()(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64                                                                            
--> Running transaction check                                                                                                                                                   
---> Package setools-libs.x86_64 0:3.3.7-4.el6 will be installed                                                                                                                
--> Finished Dependency Resolution                                                                                                                                              
Dependencies Resolved
=================================================================================================================================================================================
 Package                                             Arch                                Version                                       Repository                           Size
=================================================================================================================================================================================
Installing:
 policycoreutils-python                              x86_64                              2.0.83-19.30.el6                              server                              342 k
Installing for dependencies:
 audit-libs-python                                   x86_64                              2.2-2.el6                                     server                               59 k
 libsemanage-python                                  x86_64                              2.0.43-4.2.el6                                server                               81 k
 setools-libs                                        x86_64                              3.3.7-4.el6                                   server                              400 k
 setools-libs-python                                 x86_64                              3.3.7-4.el6                                   server                              222 k
Transaction Summary
=================================================================================================================================================================================
Install       5 Package(s)
Total download size: 1.1 M
Installed size: 4.1 M
Is this ok [y/N]: y
Downloading Packages:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                            1.8 MB/s | 1.1 MB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : setools-libs-3.3.7-4.el6.x86_64                                                                                                                               1/5
  Installing : setools-libs-python-3.3.7-4.el6.x86_64                                                                                                                        2/5
  Installing : audit-libs-python-2.2-2.el6.x86_64                                                                                                                            3/5
  Installing : libsemanage-python-2.0.43-4.2.el6.x86_64                                                                                                                      4/5
  Installing : policycoreutils-python-2.0.83-19.30.el6.x86_64                                                                                                                5/5
  Verifying  : libsemanage-python-2.0.43-4.2.el6.x86_64                                                                                                                      1/5
  Verifying  : audit-libs-python-2.2-2.el6.x86_64                                                                                                                            2/5
  Verifying  : policycoreutils-python-2.0.83-19.30.el6.x86_64                                                                                                                3/5
  Verifying  : setools-libs-3.3.7-4.el6.x86_64                                                                                                                               4/5
  Verifying  : setools-libs-python-3.3.7-4.el6.x86_64                                                                                                                        5/5
Installed:
  policycoreutils-python.x86_64 0:2.0.83-19.30.el6
Dependency Installed:
  audit-libs-python.x86_64 0:2.2-2.el6      libsemanage-python.x86_64 0:2.0.43-4.2.el6      setools-libs.x86_64 0:3.3.7-4.el6      setools-libs-python.x86_64 0:3.3.7-4.el6
Complete!

Note: I already have gcc-c++ and libcurl-devel installed:
[root@rhel64-64 rpm]# yum install libcurl-devel
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
Package libcurl-devel-7.19.7-35.el6.x86_64 already installed and latest version
Nothing to do
[root@rhel64-64 rpm]# yum install gcc-c++
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
Package gcc-c++-4.4.7-3.el6.x86_64 already installed and latest version
Nothing to do

No comments:

Post a Comment