NodeJs
Note Replace filename from version
First locate the node-v12.13.0-linux-x64.tar.xz download directory!
First locate the node-v12.13.0-linux-x64.tar.xz download directory!
First locate the node-v12.13.0-linux-x64.tar.xz download directory!
The following step is to introduce the band, and if you feel winded, you can skip the following commands to copy and paste large segment run directly
- Unzip the binary archive to any directory you wanna install Node, I use
/usr/local/lib/nodejs
sudo mkdir -p /usr/local/lib/nodejs sudo tar -xJvf node-v12.13.0-linux-x64.tar.xz -C /usr/local/lib/nodejs
- At The Environment variable the SET
~/.profile
, the Add to below at The End, update the environment variables
# Nodejs
export PATH=/usr/local/lib/nodejs/node-v12.13.0-linux-x64/bin:$PATH
- Refresh profile
. ~/.profile
- Test installation using
node - v
npm version
npx -v
Add a symbolic link
sudo ln -s /usr/local/lib/nodejs/node-v12.13.0-linux-x64/bin/node / usr / bin / node sudo ln -s /usr/local/lib/nodejs/node-v12.13.0 -linux-x64 / bin / Elevation / usr / bin / Elevation sudo ln -s /usr/local/lib/nodejs/node-v12.13.0-linux-x64/bin/npx / usr / bin / NPX
Install git:
sudo apt-get install git
The following is a collection for copy and paste. . Do not look at the above long-winded. Stick does not stick? Point a praise chant
sudo mkdir -p /usr/local/lib/nodejs sudo tar -xJvf node-v12.13.0-linux-x64.tar.xz -C /usr/local/lib/nodejs
export PATH=/usr/local/lib/nodejs/node-v12.13.0-linux-x64/bin:$PATH
. ~/.profile
sudo ln -s /usr/local/lib/nodejs/node-v12.13.0-linux-x64/bin/node /usr/bin/node
sudo ln -s /usr/local/lib/nodejs/node-v12.13.0-linux-x64/bin/npm /usr/bin/npm
sudo ln -s /usr/local/lib/nodejs/node-v12.13.0-linux-x64/bin/npx /usr/bin/npx
sudo apt-get install git
dotnetcore 3.0
https://dotnet.microsoft.com/download/linux-package-manager/sdk-current