Updated installation instructions

Updated instrutions for Ubuntu, Debian and OSX.