I'm not sure what you mean. My understanding is that you want to install Magento module on top of MAMP. In that case, you have to run the installer in the previous link (bitnami-magento-2.1.6-0-module-osx-x86_64-installer.dmg) and then provide it with the path to your mampstack installation (usually /Applications/mampstack-5.6.30-2). The
bitnami-magento-2.1.6-0-module-linux-x64-installer.run will not run on OS-X since it is intended for linux-x64 systems.
I hope it clarifies things.
Let me know if you find issues with it.