nodejs - это уже самая новая версия (4.2.6 ~ dfsg-1ubuntu4.2), она не устанавливается

У меня проблема с установкой новой версии nodejs на моем Ubuntu 16.04 LTS.

Я пробовал следующую команду:

curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -

Вот его журнал ошибок: https://justpaste.it/7j74u

Затем я попробовал:

sudo apt-get install -y nodejs

И получил:

Reading package lists... 0%
Reading package lists... 100%
Reading package lists... Done
Building dependency tree... 0%
Building dependency tree... 0%
Building dependency tree... 50%
Building dependency tree... 50%
Building dependency tree... 91%
Building dependency tree       
Reading state information... 0%
Reading state information... 0%
Reading state information... Done
nodejs is already the newest version (4.2.6~dfsg-1ubuntu4.2).
0 upgraded, 0 newly installed, 0 to remove and 273 not upgraded.

Затем, запуск node -v показал:

command not found

Как я могу установить узел на моем Ubuntu?

0
задан 23 April 2020 в 10:05

0 ответов

Другие вопросы по тегам:

Похожие вопросы: