For the installation of the correct node version for some major Linux distributions please follow the installation instructions in this readme:

https://github.com/nodesource/distributions/blob/master/README.md

The Ubuntu section worked for me.