ajout de apt-key
This commit is contained in:
parent
3cc6863486
commit
e91f87dc8e
|
@ -18,7 +18,7 @@ Nous préconisons l'installation des paquets Debian distribués par NodeSource (
|
|||
|
||||
~~~
|
||||
# echo "deb http://deb.nodesource.com/node_10.x buster main" >> /etc/apt/sources.list.d/nodesource.list
|
||||
# wget https://deb.nodesource.com/gpgkey/nodesource.gpg.key -O /etc/apt/trusted.gpg.d/nodesource.asc
|
||||
# wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
|
||||
# apt update && apt install nodejs
|
||||
|
||||
$ nodejs -v
|
||||
|
@ -32,7 +32,7 @@ Nous préconisons l'installation des paquets Debian distribués par NodeSource (
|
|||
|
||||
~~~
|
||||
# echo "deb http://deb.nodesource.com/node_10.x stretch main" >> /etc/apt/sources.list.d/nodesource.list
|
||||
# wget https://deb.nodesource.com/gpgkey/nodesource.gpg.key -O /etc/apt/trusted.gpg.d/nodesource.asc
|
||||
# wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
|
||||
# apt update && apt install nodejs
|
||||
|
||||
$ nodejs -v
|
||||
|
|
Loading…
Reference in a new issue