![]() 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. ![]() ![]() The following NEW packages will be installed:Ġ upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 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 Step 1: Add Homebridge Repository Step 2: Install Homebridge Complete: Login to the Homebridge UI Multiple Instances Updating How To Uninstall Homebridge Configuration Reference Prerequisites Before you get started, make sure you have the following ready: A Debian, Ubuntu or Raspberry Pi OS Linux machine (or similar). If you have a previous version of Node. sudo apt update curl -fsSL sudo -E bash - sudo apt install -y nodejs Confirm Node version after the installation: node -v v12.22. I am on Debian 11, fully up to date (apt-get update & apt-get upgrade & apt-get dist-upgrade).I previously installed nodejs version 12.22, since that is what is in the Debian repo, like so: sudo apt-get install nodejs node -v v12.22.5 However I want to use v14.18. su -c apt update Installing or upgrading to Node.js v14.x With your system up to date, you can install Node.js v14.x. 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 Add the repository and install Node.js 12 on Debian 11/10/9 by running the following commands in your terminal. I previously installed nodejs version 12.22, since that is what is in the Debian repo, like so: $ sudo apt-get install nodejs DEBIAN ENTERPRISE For full enterprise practice consider : curl -sL sudo bash - as described here. I am on Debian 11, fully up to date ( apt-get update & apt-get upgrade & apt-get dist-upgrade). ![]()
0 Comments
Leave a Reply. |