Sfoglia il codice sorgente

linux version updates

pull/16/head
samuel 1 anno fa
parent
commit
182479d27b
1 ha cambiato i file con 7 aggiunte e 4 eliminazioni
  1. 7
    4
      linux_setup_el.sh

+ 7
- 4
linux_setup_el.sh Vedi File

@@ -22,13 +22,16 @@ git config --global credential.helper store

# Install prerequisites
#NODE JS 16.17.1
wget https://nodejs.org/dist/v16.17.1/node-v16.17.1-linux-x64.tar.xz
tar -xf node-v16.17.1-linux-x64.tar.xz
node-v20.8.0-linux-x64.tar.xz
wget https://nodejs.org/dist/v20.8.0/node-v20.8.0-linux-x64.tar.xz
tar -xf node-v20.8.0-linux-x64.tar.xz
# Move the extracted folder to /usr/local/lib
sudo mv node-v16.17.1-linux-x64 /usr/local/lib/
sudo mv node-v20.8.0-linux-x64 /usr/local/lib/
# Create a symbolic link to the node executable
sudo ln -s /usr/local/lib/node-v16.17.1-linux-x64/bin/node /usr/local/bin/node
sudo ln -s /usr/local/lib/node-v20.8.0-linux-x64/bin/node /usr/local/bin/node
sudo ln -s /usr/local/lib/node-v20.8.0-linux-x64/bin/npm /usr/local/bin/npm
node -v
npm -v

#NPM
sudo yum install npm

Loading…
Annulla
Salva