
If you have not yet installed IBMs Installation Manager, check out our article on installing Installation Manager.
The imcl (Installation Manager command line tool) command with the listInstalledPackages option can be used to see what packages are installed. In this example, BASE and Java JDK are installed. In this example, the imcl command is located at /opt/IBM/InstallationManager/eclipse/tools/imcl but you may have the imcl command located at some other directory.
~]# /opt/IBM/InstallationManager/eclipse/tools/imcl listInstalledPackages
com.ibm.websphere.BASE.v90_9.0.6.20171205_1311
com.ibm.java.jdk.v8_8.0.5007.20171218_1035
Installation Directory
The -long option can be used to include the ${WAS_INSTALL_ROOT} directory in the output.
~]# /opt/IBM/InstallationManager/eclipse/tools/imcl listInstalledPackages -long
/opt/IBM/WebSphere/AppServer com.ibm.websphere.BASE.v90_9.0.6.20171205_1311
/opt/IBM/WebSphere/AppServer com.ibm.java.jdk.v8_8.0.5007.20171218_1035
Similarly, the -installationDirectory option can be used to only display the packages installed under a certain directory.
~]# /opt/IBM/InstallationManager/eclipse/tools/imcl listInstalledPackages -installationDirectory /opt/IBM/WebSphere/AppServer
com.ibm.websphere.BASE.v90_9.0.6.20171205_1311
com.ibm.java.jdk.v8_8.0.5007.20171218_1035
Verbose
The -verbose option can be used to append quite a bit of extra output, like this.
~]# /opt/IBM/InstallationManager/eclipse/tools/imcl listInstalledPackages -verbose
[Package group]
Name: IBM WebSphere Application Server V8.5
Installation directory: /opt/WebSphere/AppServer85
Translations: English (en)
[Package]
Name: IBM WebSphere SDK Java Technology Edition (Optional) (com.ibm.websphere.IBMJAVA.v70)
Version: 7.0.10.15 (7.0.10015.20171219_1604)
Repository: /path/to/repo
Features:
None
Fixes:
7.0.1.0-WS-WASJavaSDK7-LinuxX64-IFPI93098 (7.0.1.0-WS-WASJavaSDK7-LinuxX64-IFPI93098)
Rollback versions:
7.0.9.60 (7.0.9060.20161124_1308)
7.0.9.10 (7.0.9010.20150820_1342)
7.0.8.0 (7.0.8000.20141118_1016)
7.0.4.1 (7.0.4001.20130510_2103)
Did you find this article helpful?
If so, consider buying me a coffee over at