Skip to Content
Technical Articles
Author's profile photo Ian Henry

How to uninstall the Automated Predictive Library in SAP HANA

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_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- # ./hdbinst


APL Uninstall.png

Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Daniel Klein
      Daniel Klein

      At least four years after your blog, there is a chapter covering the necessary steps in the "SAP HANA Automated Predictive Library Installation Guide":