Tweak generation source list nodesource
This commit is contained in:
parent
dc90ce92de
commit
958ef5c8e3
|
@ -42,7 +42,7 @@ Exemple pour avoir la version 16.x en Debian 11 (bullseye)
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
# apt install apt-transport-https
|
# apt install apt-transport-https
|
||||||
# echo "deb https://deb.nodesource.com/node_16.x buster main" >> /etc/apt/sources.list.d/nodesource.list
|
# echo "deb https://deb.nodesource.com/node_16.x $(awk -F= '/VERSION_CODENAME/{print $2}' /etc/os-release) 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 https://deb.nodesource.com/gpgkey/nodesource.gpg.key -O /etc/apt/trusted.gpg.d/nodesource.asc
|
||||||
# chmod 644 /etc/apt/trusted.gpg.d/nodesource.asc
|
# chmod 644 /etc/apt/trusted.gpg.d/nodesource.asc
|
||||||
# apt update && apt install nodejs
|
# apt update && apt install nodejs
|
||||||
|
|
Loading…
Reference in a new issue