This semester Iím contributing towards HTML5 on BB10 with thanks to UCOSP and my teamís mentor Tim Windsor from Blackberry. Weíre implementing and porting cordova (phonegap) plugins.
Setting up my development environment under linux (Ubuntu 13.04) took the full first day of our face-to-face sprint. I am thankful Tim was sitting across the table and was willing to answer my many questions.
For this tutorial I am going to assume you are on Ubuntu 13.04 but other linux distros should be the a similar process.
Read the full thing at http://danieru.com/2013/10/06/linux-blackberry-os-10-cordova-plugin-development-setup/