how to install APL