This is a slightly modified update to braitsch's OpenALPR.md gist.
The steps, explained on it combined as a complete, single executable bash script.
If you're not working with a fresh install, this might be a good time to clean and update your system before proceeding. (Optional)
$ sudo apt update #fetch list of available updates