Following on from How to Install the Automated Predictive Library in SAP HANA
I thought it would be useful to share when and how to uninstall the Automated Predictive Library (APL). Removing is a lot easier and quicker but it is not documented anywhere that I have seen.
When you update HANA revisions, for example from 93 to 94 then you need to uninstall and re-install the APL.
You can’t just install the APL again because the installer detects that it is already installed (even though it won’t work). So you need to manually remove APL by deleting it.
I have done this via these commands
rm -rf /usr/sap/IAN/exe/linuxx86_64/plugins/sap_afl_sdk_apl_188.8.131.52.0_1
rm -rf /usr/sap/IAN/SYS/global/hdb/plugins/sap_afl_sdk_apl
Now you can easily re-install with the original APL installer
mo-dad69e91a:/tmp/apl-184.108.40.206-linux_x64/installer # ./hdbinst