I'm a novice with Ubuntu.
I downloaded nodejs
from the nodejs.org website.
The file I downloaded is node-v7.1.0-linux-x64.tar.xz
I know how to extract it, but that's it.
Please explain how I can install it, and where I should put it in the filesystem.
sudo apt-get install python-software-properties
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt-get install nodejs
It will install latest Node.js active release to your system.setup_7.x
bysetup_8.x