Bläddra i källkod

HUE-8756 [docs] Better nodejs installation instructions of nodejs for Ubuntu

Romain Rigaux 6 år sedan
förälder
incheckning
9d68e94

+ 8 - 2
docs/docs-site/content/administrator/installation/dependencies/_index.md

@@ -18,7 +18,14 @@ tarball, you'll need these library development packages and tools installed on y
 
 ### Ubuntu
 
-    sudo apt-get install git ant gcc g++ libffi-dev libkrb5-dev libmysqlclient-dev libsasl2-dev libsasl2-modules-gssapi-mit libsqlite3-dev libssl-dev libxml2-dev libxslt-dev make maven libldap2-dev python-dev python-setuptools libgmp3-dev nodejs npm
+    sudo apt-get install git ant gcc g++ libffi-dev libkrb5-dev libmysqlclient-dev libsasl2-dev libsasl2-modules-gssapi-mit libsqlite3-dev libssl-dev libxml2-dev libxslt-dev make maven libldap2-dev python-dev python-setuptools libgmp3-dev
+
+**Install Node.js**
+
+On Ubuntu 16.04 or less:
+
+    curl -sL https://deb.nodesource.com/setup_8.x | sudo bash -
+    sudo apt-get install -y nodejs
 
 **Install Oracle JDK**
 
@@ -128,4 +135,3 @@ and finally
 
     cd sdk
     unzip ottclasses.zip
-