Code: Select all
$ apt-cache policy nodejs
nodejs:
Installed: (none)
Candidate: 4.8.2~dfsg-1
Version table:
4.8.2~dfsg-1 500
500 http://ftp.pt.debian.org/debian stretch/main amd64 Packages
Code: Select all
$ curl -sL https://deb.nodesource.com/setup_8.x | sudo bash -
## Installing the NodeSource Node.js v8.x repo...
## Populating apt-get cache...
+ apt-get update
Hit:1 http://security.debian.org stretch/updates InRelease
Hit:2 http://ftp.pt.debian.org/debian stretch-updates InRelease
Ign:3 http://ftp.pt.debian.org/debian stretch InRelease
Hit:4 http://ftp.pt.debian.org/debian stretch Release
Ign:5 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:6 http://dl.google.com/linux/chrome/deb stable Release
Get:8 http://dl.google.com/linux/chrome/deb stable Release.gpg [819 B]
Ign:9 http://it.mxrepo.com/antix/stretch stretch InRelease
Hit:10 http://it.mxrepo.com/mx/repo stretch InRelease
Hit:11 http://it.mxrepo.com/antix/stretch stretch Release
Fetched 819 B in 5s (148 B/s)
Reading package lists... Done
## Installing packages required for setup: apt-transport-https...
+ apt-get install -y apt-transport-https > /dev/null 2>&1
## Confirming "Horizon" is supported...
+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_8.x/dists/Horizon/Release'
## Your distribution, identified as "Horizon", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support
Thanks in advance.