Install packages using imcl

Install packages or updates from the tools directory using Installation Manager command line (imcl) installation commands.


Procedure

  1. Open a command-line utility.

  2. Open the tools directory. See Locating the tools directory for more information about the tools directory.

  3. Run the installation command:

    imcl install package_id_version,feature_id 
     -repositories source_repository 
     -installationDirectory installation_directory
     [ -sharedResourcesDirectory shared_directory ] 
     [ -preferences preference_key=value ] 
     [ -keyring keyring_file -password password ]
     [ -acceptLicense ] 

    Include quotation marks around filepaths that have spaces.


Example

Operating system Administrator Nonadministrator Group
Windows 2000 or Windows XP Professional imcl.exe install com.ibm.package_7.1 -repositories http://repository/package/7.1/repository.config -installationDirectory "C:\Program Files\IBM\Package" -keyring C:\keyring_file.keyring -password password -acceptLicense imcl.exe install com.ibm.package_7.1 -repositories http://repository/package/7.1/repository.config -installationDirectory "C:\Documents and Settings\user\IBM\Package" -keyring C:\keyring_file.keyring -password password -acceptLicense Not available.
Windows Vista, Windows 2008, or Windows 7 imcl.exe install com.ibm.package_7.1 -repositories http://repository/package/7.1/repository.config -installationDirectory "C:\Program Files\IBM\Package" -keyring C:\keyring_file.keyring -password password -acceptLicense imcl.exe install com.ibm.package_7.1 -repositories http://repository/package/7.1/repository.config -installationDirectory "C:\Users\user\IBM\Package" -keyring C:\keyring_file.keyring -password password -acceptLicense Not available.
Linux and UNIX ./imcl install com.ibm.package_7.1 -repositories http://repository/package/7.1/repository.config -installationDirectory /opt/IBM/Package -keyring /var/keyring_file.keyring -password password -acceptLicense ./imcl install com.ibm.package_7.1 -repositories http://repository/package/7.1/repository.config -installationDirectory /user_home/IBM/Package -keyring /user_home/keyring_file.keyring -password password -acceptLicense ./imcl install com.ibm.package_7.1 -repositories http://repository/package/7.1/repository.config -installationDirectory /user_home/IBM/Package_Group -keyring /user_home/keyring_file.keyring -password password -acceptLicense
IBM i ./imcl install com.ibm.package_7.1 -repositories http://repository/package/7.1/repository.config -installationDirectory /QIBM/ProdData/Package -keyring /var/keyring_file.keyring -password password -acceptLicense ./imcl install com.ibm.package_7.1 -repositories http://repository/package/7.1/repository.config -installationDirectory /user_home/IBM/Package -keyring /user_home/keyring_file.keyring -password password -acceptLicense Not available.
z/OS ./imcl install com.ibm.package_7.1 -repositories http://repository/package/7.1/repository.config -installationDirectory /Package -keyring /var/keyring_file.keyring -password password -acceptLicense ./imcl install com.ibm.package_7.1 -repositories http://repository/package/7.1/repository.config -installationDirectory /user_home/Package -keyring /user_home/keyring_file.keyring -password password -acceptLicense ./imcl install com.ibm.package_7.1 -repositories http://repository/package/7.1/repository.config -installationDirectory /user_home/Package_Group/ -keyring /user_home/keyring_file.keyring -password password -acceptLicense

Install packages silently using imcl with a response file

Install packages or updates silently from the tools directory using Installation Manager command line (imcl) installation commands with a response file.

  1. Create a response file with the specifications for your installation.

  2. Create a keyring file if you are using repositories that require authentication.

  3. Open a command-line utility.

  4. Open the tools directory. See Locating the tools directory for more information about the tools directory.

  5. Run the installation command:

    imcl input /path/to/respfile 
      [ -keyring keyring_file -password password ]
      [ -log /path/to/logfile ] 
     [ -acceptLicense ]

    Include quotation marks around filepaths that have spaces.

Example

Operating system Command
Windows imcl input c:\response_files\install_product.xml -keyring C:\keyring_file.keyring -password password -log c:\mylog\silent_install_log.xml -acceptLicense
Linux, UNIX, IBM i and z/OS ./imcl input /response_files/install_product.xml -keyring /keyring_file.keyring -password password -log /mylog/silent_install_log.xml -acceptLicense


+

Search Tips   |   Advanced Search