There are 3 methods that can be used to install Installation Manager:
- install Installation Manager using the installc or userinstc command (this article)
- install Installation Manager using the imcl install command
- install Installation Manager using the imcl input command
This article describes the process on how to install Installation Manager using the installc or userinstc command.
Download Installation Manager from IBM Fix Central. Let's say that agent.installer.linux.gtk.x86_64_1.8.5000.20160506_1125.zip is downloaded. Make a directory for Installation Manager.
Use the unzip command to unzip the package. The -d /opt/IM option is used to unzip the package to the /opt/IM directory.
Do NOT remove the files and directories below /opt/IM (or whatever directory you extracted the zip file to) as these files and directories would be needed for a clean uninstall of Installation Manager.
unzip agent.installer.linux.gtk.x86_64_1.8.5000.20160506_1125.zip -d /opt/IM
Install as root (installc)
Use the installc command to install Installation Manager using the root user account. In this example, Installation Manager is installed at /opt/IBM/InstallationManager.
/opt/IM/installc -acceptLicense -showProgress
Install as non-root user (userinstc)
Use the userinstc command to install Installation Manager as non-root user. In this example, Installation Manager is installed by john.doe at /opt/IBM/InstallationManager.
/opt/IM/userinstc -acceptLicense -showProgress
Specify installation directory
By default, Installation Manager will be installed in the /opt/IBM/InstallationManager directory. The -installationDirectory option can be used to define some other directory. In this example, Installation Manager will be installed in the /opt/InstallationManager directory.
The -installationDirectory must immediately follow the installc or userinstc command. If the -installationDirectory does not immediately follow the installc or userinstc command, the -installationDirectory option will be ignored, and Installation Manager will be installed to the default location of /opt/IBM/InstallationManager.
If using the installc command, there is no need to ensure the target directory exists and has certain permissions. You can simply just issue the installc command with the -installationDirectory option, and the target directory will be created if it does not already exist.
/opt/IM/installc -installationDirectory /opt/InstallationManager -acceptLicense -showProgress
If using the userinstc command, you will need to ensure the directory exists and that has the write permission for members of the other group (e.g. drwxrwxrwx). The mkdir and chmod commands can be used to create the directory and update the permissions.
mkdir /opt/InstallationManager chmod o+w /opt/InstallationManager
Now, you can issue the userinstc command with the -installationDirectory option.
/opt/IM/userinstc -installationDirectory /opt/InstallationManager -acceptLicense -showProgress
The following command can be used to verify that Installation Manager was installed.
/opt/IBM/InstallationManager/eclipse/tools/imcl listInstalledPackages . . . com.ibm.cic.agent_version