RadioactiveButter,
You are just missing curl. Something that can download stuff using http(s). You can do this one of two ways. Do you know your root password? Did you provide it during install, or leave it blank?
If the former, then run the following command:
And, enter that password.
Then install curl:
Now you can follow those instructions again.
If you are using sudo (no root password), then do the following:
Code:
$ sudo apt install curl
$ curl -sL https://deb.nodesource.com/setup_10.x | sudo bash - apt-get install -y nodejs
ondoho,
Quote:
Originally Posted by ondoho
So how to do it properly?
- Make sure your system's up-to-date before you even start.
- Find the tutorial that tells you how to install nodejs
- erm, maybe nodejs is already in your distros repositories and you can install it from there instead? try 'apt search nodejs' and show us.
|
Can I suggest that you perhaps read the documentation from nodejs's website on how to install on Debian. Specifically the part that talks about how NodeSource is the official source (as far as nodejs is concerned) of Debian nodejs packages, and that OP has pretty much copied their instructions verbatim. Also, note that the instructions has details on how to perform the installation manually should you (in their words) not be a fan of
curl <url> | bash -. Also, note that these instructions reside in a git repo with the install script. Whilst your note may be good practice in the general sense, you've picked a really poor example to make your point.