Fix nodesource url + gpg key
This commit is contained in:
parent
a3709287f4
commit
c3f09ca9b2
|
@ -8,8 +8,8 @@ Pour installer une version plus récente (ex: 6.X ou 7.X), on peut utiliser les
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
# apt install apt-transport-https
|
# apt install apt-transport-https
|
||||||
# echo "deb <https://deb.nodesource.com/node_6.x> jessie main" >> /etc/apt/sources.list.d/nodesource.list
|
# echo "deb https://deb.nodesource.com/node_6.x jessie main" > /etc/apt/sources.list.d/nodesource.list
|
||||||
# curl -s <https://deb.nodesource.com/gpgkey/nodesource.gpg.key> | apt-key add -
|
# wget https://deb.nodesource.com/gpgkey/nodesource.gpg.key -O -|apt-key add -
|
||||||
# apt update
|
# apt update
|
||||||
# apt-show-versions nodejs -a
|
# apt-show-versions nodejs -a
|
||||||
# apt install nodejs=xxxx
|
# apt install nodejs=xxxx
|
||||||
|
|
Loading…
Reference in a new issue