How to install ams on Debian 9 (Stretch)