• RoundSparrowOP
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Ubuntu 22.04’s nodejs is old, so I did this as root:

    curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
    echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
    curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
    sudo apt install nodejs yarn
    

    Note that this is 20.x and not the 12.x in the current from_scratch instructions.

    I really need to reinstall my Ubuntu 22.04.2 from scratch and re-test all these steps, as there was a lot of other things I tried that failed and system is now kind of cluttered up and not sure these are all the steps that actually worked.