While that's all you need to do to install node, there is a
small detail that you need to take care of. When ubuntu installs
the package, it names the NodeJS executable nodejs. The problem is
that many applications, including PhoneGap, expect the executable
to be named node. To fix this inconsistency, simply create a
symlink named node that points to nodejs as follows.