amazonlinux / amazon-linux-2023

Amazon Linux 2023
https://aws.amazon.com/linux/amazon-linux-2023/
Other
523 stars 39 forks source link

[Package Request] - NodeJs 20 #549

Closed bitfrost closed 9 months ago

bitfrost commented 10 months ago

What package is missing from Amazon Linux 2023? Please describe and include package name. Please offer Node 20, the current LTS version Is this an update to existing package or new package request?

Is this package available in Amazon Linux 2? If it is available via external sources such as EPEL, please specify.

Any additional information you'd like to include. (use-cases, etc)

nmeyerhans commented 9 months ago

NodeJS 20 is available with AL2023.3, which we just published. The packages are named nodejs20 to avoid conflicting with version 18, which remains available as nodejs.

bitfrost commented 9 months ago

Thank you!

csvan commented 8 months ago

Don't forget to update symlinks after installing the above (and please do correct me if there is a more appropriate way to do this)

sudo ln -s -f /usr/bin/node-20 /usr/bin/node
sudo ln -s -f /usr/bin/npm-20 /usr/bin/npm
kevin-cgc commented 4 months ago

Don't forget to update symlinks after installing the above (and please do correct me if there is a more appropriate way to do this)

Maybe with alternatives?

sudo alternatives --install /usr/bin/node node /usr/bin/node-20 90
sudo alternatives --install /usr/bin/npm npm /usr/bin/npm-20 90