Ubuntu port

this PR ports the module to ubuntu.