There is no Raspberry Pi version. I chose Android version and it worked, even though I have problem doing updates.
To install motion, run “sudo apt-get install motion” and change configurations.
If you want to stop the motion service, run: sudo service motion stop