Open Terminal
Install NodeJS from NodeSource:
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs
You might need to install curl
as well:
sudo apt install curl
Install other dependencies:
Linux requires the X11 developement libraries and libpng
to build native Node modules.
sudo apt install git python3 g++ libx11-dev libxtst-dev libpng-dev
To build RPMs, you need rpmbuild
:
sudo apt install rpm
Did you find what you were looking for?