Installation:
1. Download
Uname -a to view the Linux system version, go to the NodeJS official website to download the corresponding NodeJS compressed file
2. Upload & amp; Unpack & amp; renamed
Yum install -y LRZSZ and install the file node-v10.16.0-linux-x64.tar.xz. If you want to install LRZSZ, do not install the file node-v10.16.0-linux-x64.tar.xz.
⑵ Unzip tar-xvf node-v10.16.0-linux-x64.tar.xz. ⑵ Unzip tar-xvf node-v10.16.0-linux-x64.tar.xz
⑶ Rename it to nodejs: mv node-v10.16.0-linux-x64 nodejs
3. Establish soft connection and make it global (APP is the directory where I installed NodeJS)
(1) ln -s/app/nodejs/bin/node/usr/local/bin /
2 ln -s/app/nodejs/bin/NPM/usr/local/bin /
4. Check global
Any position node – v view nodejs version of NPM – v view NPM version number, such as display shows successful installation
Uninstall:
yum remove nodejs NPM -y
yum remove nodejs NPM -y
yum remove nodejs NPM -y
2. Manually delete residual files
Go to /usr/local/lib and delete all nodes and node_modules
go to /usr/local/include and delete all nodes and node_modules
to /usr/local/bin and delete all nodes’ executables
3. If you need to install again, follow the above installation method
1. Download
Uname -a to view the Linux system version, go to the NodeJS official website to download the corresponding NodeJS compressed file
2. Upload & amp; Unpack & amp; renamed
Yum install -y LRZSZ and install the file node-v10.16.0-linux-x64.tar.xz. If you want to install LRZSZ, do not install the file node-v10.16.0-linux-x64.tar.xz.
⑵ Unzip tar-xvf node-v10.16.0-linux-x64.tar.xz. ⑵ Unzip tar-xvf node-v10.16.0-linux-x64.tar.xz
⑶ Rename it to nodejs: mv node-v10.16.0-linux-x64 nodejs
3. Establish soft connection and make it global (APP is the directory where I installed NodeJS)
(1) ln -s/app/nodejs/bin/node/usr/local/bin /
2 ln -s/app/nodejs/bin/NPM/usr/local/bin /
4. Check global
Any position node – v view nodejs version of NPM – v view NPM version number, such as display shows successful installation
Uninstall:
yum remove nodejs NPM -y
yum remove nodejs NPM -y
yum remove nodejs NPM -y
2. Manually delete residual files
Go to /usr/local/lib and delete all nodes and node_modules
go to /usr/local/include and delete all nodes and node_modules
to /usr/local/bin and delete all nodes’ executables
3. If you need to install again, follow the above installation method
Read More:
- How to solve the problem of Cannot find module’npmlog’ when installing nodejs under Linux
- When installing / uninstalling SQL, a black box of command prompt will pop up, and then it will flash without response
- After installing nodejs, run NPM on the command line and report error: cannot find module ‘internal / util / types’
- Methods of compiling and installing ffmpeg and libx264 in Linux
- Prompt “The MSI failed” solution when uninstalling VMware
- Linux CentOS installing protobuf
- Installing zookeeper under Linux system
- Installing open CV under Linux system
- Installing swig on Linux
- Error in installing torch vision or pilot on Linux or Jetson nano: the headers or library files could not be found for JPEG
- Installing opencv and Linux Makefile:160 : recipe for target ‘all’ failed problem resolution
- Installing GCC reduced version GCC 4.4.6 under Linux
- Error: EPERM: operation not permitted, mkdir ‘D:\nodejs\node_modules\npm\node_cache\_npx‘
- Cannot find module ‘.. / lib / utils / unsupported. JS’ problem in installing node in centos7
- After installing MySQL again under Linux, the solution of ‘MySQL module failed to start’ appears
- Nodejs exception error: listen eacces 127.0.0.1:8000
- express nodejs Failed to lookup view error in views directory (How to Fix)
- nodejs Error: Cannot find module ‘ejs‘
- Re installing Android studio always fails to install SDK when installing software (solution)
- Installing gensim in Anaconda