
The Installation Manager command line tool (imcl) has two similar commands that can be used to list packages / interim fixes that can be installed.
- listAvailablePackages
- listAvailableFixes (this article)
Install Installation Manager
If you have not yet installed IBMs Installation Manager, check out my articles:
- Install Installation Manager on Linux using the installc or userinstc command
- Install Installation Manager on Linux using the imcl install command
- Install Installation Manager on Linux using the imcl input command
IBM repository vs. local repository
One of the command line options is -repositories. There are two types of repositories. One is known as an "IBM service repostiory" and the other is known as a "local repository". An IBM service repository is an HTTP URL that contains the installation files for a product, such as http://www.ibm.com/software/repositorymanager/com.ibm.websphere.BASE.v90. A local repository is where you download a zip file from Fix Central or using the Packaging Utility and then extract the contents of the zip to a directory on the server that you want to install the product on.
Get the ID of the package
Before you can list the interim fixes that can be installed, you will first need to get the ID of the package that the interim fix will be installed with. This can be done using the imcl listAvailablePackages command.
For example, if you have not yet installed the package, the imcl listAvailablePackages command can be used to get the ID of the packages in the respository.
~]# /opt/IBM/InstallationManager/eclipse/tools/imcl listAvailablePackages -repositories /usr/local/ibm/fixpack/8.5.5.21
com.ibm.websphere.BASE.v85_8.5.5021.20220202_1245
com.ibm.websphere.BASETRIAL.v85_8.5.5021.20220202_1245
com.ibm.websphere.DEVELOPERS.v85_8.5.5021.20220202_1245
com.ibm.websphere.DEVELOPERSILAN.v85_8.5.5021.20220202_1245
com.ibm.websphere.EXPRESS.v85_8.5.5021.20220202_1245
com.ibm.websphere.EXPRESSTRIAL.v85_8.5.5021.20220202_1245
com.ibm.websphere.ND.v85_8.5.5021.20220202_1245
com.ibm.websphere.NDDMZ.v85_8.5.5021.20220202_1245
com.ibm.websphere.NDDMZTRIAL.v85_8.5.5021.20220202_1245
com.ibm.websphere.NDTRIAL.v85_8.5.5021.20220202_1245
If the package has already been installed, the imcl listInstalledPackages command can be used to get the ID of the installed package.
~]# /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
List the Available Fixes
You can then use the listAvailableFixes to list the interim fixes that are available for the package from the Interim Fix repository.
/opt/IBM/InstallationManager/eclipse/tools/imcl
listAvailableFixes com.ibm.websphere.ND.v85_8.5.5021.20220202_1245
-repositories /usr/local/ibm/interimfix/43148
Which should return something like this.
8.5.5.10-WS-WASProd-IFPH43148_8.5.5010.20220221_0811
-long
The -long flag can be used to include additional output, like this.
/opt/IBM/InstallationManager/eclipse/tools/imcl
listAvailableFixes com.ibm.websphere.ND.v85_8.5.5021.20220202_1245
-repositories /usr/local/ibm/interimfix/43148
-long
Something like this should be returned.
/usr/local/ibm/interimfix/43148 : 8.5.5.10-WS-WASProd-IFPH43148_8.5.5010.20220221_0811 : recommended=true
Did you find this article helpful?
If so, consider buying me a coffee over at