title: How to install nodejs on Ubuntu?
body: <p>I install Ubuntu 16.04 on VPS.</p>
  
  <p>My framework is laravel 5.6.</p>
  
  <p>Upload my project on /var/www/html</p>
  
  <p>After run <code>sudo apt-get install -y nodejs</code> this code, show this error:</p>
  
  <pre><code>Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following NEW packages will be installed:
    nodejs
  0 upgraded, 1 newly installed, 0 to remove and 132 not upgraded.
  Need to get 0 B/12.8 MB of archives.
  After this operation, 62.5 MB of additional disk space will be used.
  perl: warning: Setting locale failed.
  perl: warning: Please check that your locale settings:
      LANGUAGE = "en_US:en",
      LC_ALL = (unset),
      LC_TIME = "fa_IR",
      LC_MONETARY = "fa_IR",
      LC_ADDRESS = "fa_IR",
      LC_TELEPHONE = "fa_IR",
      LC_NAME = "fa_IR",
      LC_MEASUREMENT = "fa_IR",
      LC_IDENTIFICATION = "fa_IR",
      LC_NUMERIC = "fa_IR",
      LC_PAPER = "fa_IR",
      LANG = "en_US.UTF-8"
      are supported and installed on your system.
  perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
  locale: Cannot set LC_ALL to default locale: No such file or directory
  Selecting previously unselected package nodejs.
  (Reading database ... 73714 files and directories currently     installed.)
  Preparing to unpack .../nodejs_9.11.1-1nodesource1_amd64.deb ...
  Unpacking nodejs (9.11.1-1nodesource1) ...
  Processing triggers for man-db (2.7.5-1) ...
  Setting up nodejs (9.11.1-1nodesource1) ...
  </code></pre>
  
  <p>And run <code>node -v</code> show this error:</p>
  
  <pre><code>node: error while loading shared libraries: libuv.so.1: cannot open shared object file: No such file or directory
  </code></pre>
  
  <p>How to install npm and node on ubuntu 16.4 without error?</p>