Install nodejs10 on Ubuntu16

Open the official website: https://nodejs.org/en/download/

  1. Download the file in the red box below to the Ubuntu machine:

  1. The downloaded file is named node-v10.15.0-linux-x64.tar.xz, readers, your possible version is different from mine;
  2. Execute the command tar -xvf node-v10.15.0-linux-x64.tar.xz in the directory where node-v10.15.0-linux-x64.tar.xz is located to decompress and get the folder node-v10.15.0-linux-x64 , My full path here is: /usr/local/work/nodejs/node-v10.15.0-linux-x64;
  3. Open the /etc/profile file and add the following two lines at the end:
export NODEJS_HOME=/usr/local/work/nodejs/node-v10.15.0-linux-x64
export PATH=$PATH:$NODEJS_HOME/bin
  1. Execute the command source /etc/profile to make the setting effective;
  2. Execute the command node -v to check whether the settings are effective, as shown below, you can see the nodejs version number:
root@node-0:~# node -v
v10.15.0

So far, nodejs is installed successfully.

Recommended Posts

Install nodejs10 on Ubuntu16
ubuntu install nodejs
How to install Node.js on Ubuntu 16.04
Install Redis on Ubuntu
Install R4 on ubuntu20
Install nvtop on Ubuntu 18.04
Install postgresql-10 on Ubuntu 18.04
Nodejs install on centos7
Install Docker on ubuntu18.04
Install Node.js on Centos
Install mysql on Ubuntu 14.04
Install Django on ubuntu
Install Pytorch+CUDA on Ubuntu 16.04
Install Python3 on Ubuntu 14.04
ubuntu16.04 install node.js, npm
Install rJava on Ubuntu18
Install JDK10+ on Ubuntu
Install Python3 on Ubuntu 16.04
Install KDE on Ubuntu16.04.2
Install Docker on Ubuntu18
Install Python3.7 on Ubuntu
Install flashplayer on Ubuntu
Docker practice (1): install Docker on Ubuntu 16.04
Install ubuntu on virtual machine
Install QQ robot on Ubuntu 16.04
Install Python 3.7 on Ubuntu 18.04 LTS
Install Android Studio on Ubuntu
Install scrapy framework on ubuntu
Install Mysql offline on Ubuntu
Install Oracle Java8 on Ubuntu
Install Odoo 11 stack on Ubuntu 16.04
Install Go locale on Ubuntu16
Install common software on Ubuntu 16.04
Install non-portable QQ on ubuntu
Install Docker on Ubuntu 18.04 offline
How to install Ruby on Ubuntu 20.04
How to install Memcached on Ubuntu 20.04
How to install Java on Ubuntu 20.04
How to install MySQL on Ubuntu 20.04
How to install VirtualBox on Ubuntu 20.04
How to install Elasticsearch on Ubuntu 20.04
How to install Protobuf 3 on Ubuntu
Install Tenda u12 driver on Ubuntu
How to install Nginx on Ubuntu 20.04
How to install Apache on Ubuntu 20.04
How to install Git on Ubuntu 20.04
How to install MySQL on Ubuntu 20.04
Install and configure MySQL on Ubuntu
Install Chef server workstation on Ubuntu 18.04
How to install Vagrant on Ubuntu 20.04
How to install Bacula-Web on Ubuntu 14.04
Install botan2 encryption library on ubuntu
How to install PostgreSQL on Ubuntu 16.04
How to install Git on Ubuntu 20.04
How to install Anaconda3 on Ubuntu 18.04
How to install Memcached on Ubuntu 18.04
How to install Jenkins on Ubuntu 16.04
Docker ubuntu: install python-PIL-image environment on 14.04
How to install MemSQL on Ubuntu 14.04
How to install Go on Ubuntu 20.04
How to install MongoDB on Ubuntu 16.04