When I do the above procedure on my other 64 bit machine it works fine and it installs version 14.18 from the PPA. Note that I am using a 32-bit machine: $ uname -m It seems that apt-get is not using the new PPA to decide the version of nodejs to install. Download the Node. Inst nodejs (12.22.5~dfsg-2~11u1 Debian:11.1/stable, Debian-Security:11/stable-security )Ĭonf nodejs (12.22.5~dfsg-2~11u1 Debian:11.1/stable, Debian-Security:11/stable-security ) Node.js® is a JavaScript runtime built on Chromes V8 JavaScript engine. The following NEW packages will be installed:Ġ upgraded, 1 newly installed, 0 to remove and 0 not upgraded. To install Node. At the time of writing, the version in the repositories is v10.x which is the latest LTS version. I can see that it has added the new PPA under /etc/apt//: $ cat /etc/apt//nodesource.listĭeb bullseye mainĭeb-src bullseye mainīut now when I go to install nodejs it still uses version 12 :( $ sudo apt-get install nodejs -dry-run Node.js and npm can be installed from the standard Debian repositories. I removed all traces of node version 12, like so: $ sudo apt-get remove -purge nodejsĪnd then added the PPA for nodejs using : $ curl -fsSL -o nodesource_setup_14_lts.sh Using a Node version manager to install Node.js and npm Using a Node installer to install Node.js and npm Checking your version of npm and Node. I previously installed nodejs version 12.22, since that is what is in the Debian repo, like so: $ sudo apt-get install nodejs I am on Debian 11, fully up to date ( apt-get update & apt-get upgrade & apt-get dist-upgrade).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |