xxxxxxxxxx
source /etc/lsb-release && echo "deb https://download.rethinkdb.com/repository/ubuntu-$DISTRIB_CODENAME $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
wget -qO- https://download.rethinkdb.com/repository/raw/pubkey.gpg | sudo apt-key add -
sudo apt-get update
sudo apt-get install rethinkdb
# OPTIONAL: Start rethinkdb on boot
sudo cp /etc/rethinkdb/default.conf.sample /etc/rethinkdb/instances.d/instance1.conf
sudo /etc/init.d/rethinkdb restart
xxxxxxxxxx
sudo apt install curl
curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -
sudo apt install -y nodejs
xxxxxxxxxx
sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
sudo apt-get install nodejs
# Check node version
node -v
# v13.9.0
# Also, check the npm version
npm -v
# 6.13.7
xxxxxxxxxx
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs
Install RethinkDB on Ubuntu
xxxxxxxxxx
curl -sL https://deb.nodesource.com/setup_16.x | sudo bash -
xxxxxxxxxx
# Update the package manager
sudo apt update
# Install the required dependencies
sudo apt install curl gnupg
# Install Node.js 14.x
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt install -y nodejs
# Verify the installation
node --version
npm --version
xxxxxxxxxx
sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_15.x | sudo -E bash -
sudo apt-get install nodejs
# Check node version
node -v
# v15.14.0
# Also, check the npm version
npm -v
# 7.7.6
xxxxxxxxxx
su -c 'curl -sL https://deb.nodesource.com/setup_15.x | bash -'
su -c 'apt update'
su -c 'apt install -y nodejs'
node --version # v15.0.0
xxxxxxxxxx
sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_17.x | sudo -E bash -
sudo apt-get install nodejs
xxxxxxxxxx
# 100% work . latest verison 20
sudo curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - &&\
sudo apt-get install -y nodejs
xxxxxxxxxx
# Using Ubuntu
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs
# Using Debian, as root
curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
apt-get install -y nodejs