Site icon Daniel Sobrinho

Installing NodeJS 13 on Deepin 20

Hello, follow the steps for installing NodeJS 13 on Deepin 20, currently in beta.

Download the installation file via the command:
wget https://deb.nodesource.com/setup_13.x

Edit file:na
no setup_13.x

Search for: DISTRO=$(lsb_release -c
-s)Switch to: DISTRO=bu
sterThus:#DIS
TRO=$(lsb_release -c -s)D
ISTRO=buster

Now run installer:sud
o bash setup_13.x

The following instructions will follow from the installer i
tself:sudo apt-get install gcc g++

makecurl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key a

dd -echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.li

stsudo apt-get update && sudo apt-get install yarn

Ready!

Run: node -v
E be happy!