Friday, October 26, 2012

DB2 Client Install on Linux


  1. db2ls can show the current installation
  2. [bewang@logs]$ db2ls
    Install Path                       Level   Fix Pack   Special Install Number   Install Date                  Installer UID 
    ---------------------------------------------------------------------------------------------------------------------
    /opt/ibm/db2/V9.7                 9.7.0.2        2                            Tue Oct  4 17:08:48 2011 PDT             0 
    
  3. and the installed components
  4. [bewang@logs]$ db2ls -q -b /opt/ibm/db2/V9.7
    
    Install Path : /opt/ibm/db2/V9.7
    
    Feature Response File ID             Level   Fix Pack   Feature Description  
    ---------------------------------------------------------------------------------------------------------------------
    BASE_CLIENT                         9.7.0.2          2   Base client support 
    JAVA_SUPPORT                        9.7.0.2          2   Java support 
    LDAP_EXPLOITATION                   9.7.0.2          2   DB2 LDAP support 
    
  5. db2idrop to remove, then db2_deinstall

No comments:

Post a Comment