@@ -22,15 +22,17 @@ alt-nodejs provides a more flexible and convenient environment for working with
2222
2323## Supported OS and Node.js versions
2424
25- | Operating Systems | Package Type | OS Version |
26- | :----------------------------------------------------------: | :----------: | :-------------------------------: |
27- | EL 7 (CentOS, CloudLinux, Oracle Linux, etc.) | RPM | 7.x |
28- | EL 8 (CentOS, CentOS Stream, CloudLinux, Oracle Linux, etc.) | RPM | 8.x |
29- | EL 9 (AlmaLinux, CentOS, CloudLinux, Oracle Linux, etc.) | RPM | 9.x |
30- | Ubuntu | DEB | 18.04, 20.04, 22.04, 24.04 |
31- | Debian | DEB | 10, 11, 12, 13 |
32-
33- ** For supported Node.js versions, see [ tuxcare.com/cve-tracker ] ( https://tuxcare.com/cve-tracker/ ) .**
25+ | Operating Systems | Package Type | OS Version | Node.js versions |
26+ | :----------------------------------------------------------: | :----------: | :-------------------------------: | :-------------------------------: |
27+ | EL 7 (CentOS, CloudLinux, Oracle Linux, etc.) | RPM | 7.x | 12, 14, 16, 18, 20 |
28+ | EL 8 (CentOS, CentOS Stream, CloudLinux, Oracle Linux, etc.) | RPM | 8.x | 12, 14, 16, 18, 20 |
29+ | EL 9 (AlmaLinux, CentOS, CloudLinux, Oracle Linux, etc.) | RPM | 9.x | 12, 14, 16, 18, 20 |
30+ | EL 10 (AlmaLinux, CloudLinux, Oracle Linux, etc.) | RPM | 10.x | 14, 16, 18, 20 |
31+ | Ubuntu | DEB | 18.04, 20.04, 22.04, 24.04 | 12, 14, 16, 18, 20 |
32+ | Debian | DEB | 10, 11 | 12, 14, 16, 18, 20 |
33+ | Debian | DEB | 12 | 12, 14, 16, 18, 20, 23 |
34+ | Debian | DEB | 13 | 12, 14, 16, 18, 20, 22, 23, 24 |
35+ | Alpine Linux | APK | 3.22, 3.23 | 12, 14, 16, 18, 20, 22, 23, 24 |
3436
3537** Supported architecture:** x86_64 (64-bit)
3638
@@ -51,7 +53,8 @@ alt-nodejs provides a more flexible and convenient environment for working with
5153
5254 <CodeTabs : tabs ="[
5355 { title: 'RPM', content: ` wget https://repo.alt.tuxcare.com/alt-nodejs-els/install-els-alt-nodejs-rpm-repo.sh ` },
54- { title: 'DEB', content: ` wget https://repo.alt.tuxcare.com/alt-nodejs-els/install-els-alt-nodejs-deb-repo.sh ` }
56+ { title: 'DEB', content: ` wget https://repo.alt.tuxcare.com/alt-nodejs-els/install-els-alt-nodejs-deb-repo.sh ` },
57+ { title: 'APK', content: ` wget https://repo.alt.tuxcare.com/alt-nodejs-els/install-els-alt-nodejs-apk-repo.sh ` }
5558 ] " />
5659
57602 . Run the installer script with your license key
@@ -60,7 +63,8 @@ alt-nodejs provides a more flexible and convenient environment for working with
6063
6164 <CodeTabs : tabs ="[
6265 { title: 'RPM', content: ` sh install-els-alt-nodejs-rpm-repo.sh --license-key XXX-XXXXXXXXXXXX ` },
63- { title: 'DEB', content: ` bash install-els-alt-nodejs-deb-repo.sh --license-key XXX-XXXXXXXXXXXX ` }
66+ { title: 'DEB', content: ` bash install-els-alt-nodejs-deb-repo.sh --license-key XXX-XXXXXXXXXXXX ` },
67+ { title: 'APK', content: ` sh install-els-alt-nodejs-apk-repo.sh --license-key XXX-XXXXXXXXXXXX ` }
6468 ] " />
6569
66703 . Install a Node.js version
@@ -69,30 +73,47 @@ alt-nodejs provides a more flexible and convenient environment for working with
6973
7074 <CodeTabs : tabs ="[
7175 { title: 'RPM', content: ` yum install alt-nodejs18* ` },
72- { title: 'DEB', content: ` apt-get install alt-nodejs18* ` }
76+ { title: 'DEB', content: ` apt-get install alt-nodejs18* ` },
77+ { title: 'APK', content: ` apk add 'alt-nodejs18*' ` }
7378 ] " />
7479
7580 To install all versions at the same time:
7681
7782 <CodeTabs : tabs ="[
7883 { title: 'RPM', content: ` yum groupinstall alt-nodejs ` },
79- { title: 'DEB', content: ` apt-get install alt-nodejs ` }
84+ { title: 'DEB', content: ` apt-get install alt-nodejs ` },
85+ { title: 'APK', content: ` apk add alt-nodejs ` }
8086 ] " />
8187
8288 To list available groups/meta-packages:
8389
8490 <CodeTabs : tabs ="[
8591 { title: 'RPM', content: ` sudo yum group list ` },
86- { title: 'DEB', content: ` apt list -a | grep alt-nodejs ` }
92+ { title: 'DEB', content: ` apt list -a | grep alt-nodejs ` },
93+ { title: 'APK', content: ` apk search alt-nodejs ` }
8794 ] " />
8895
89964 . Verify the installation
9097
91- ` alt-nodejs ` versions are installed alongside the system default. To use a specific version:
98+ Activate the desired version and check it returns the expected version:
99+
100+ ``` text
101+ source /opt/alt/alt-nodejs<version>/enable
102+ node -v
103+ ```
104+
105+ Optionally, verify execution:
106+
107+ ``` text
108+ node -e "console.log('Hello, World!')"
109+ ```
110+
111+ 5 . Update packages
92112
93113 <CodeTabs : tabs ="[
94- { title: 'RPM', content: rpmex },
95- { title: 'DEB', content: debex }
114+ { title: 'RPM', content: ` yum update 'alt-nodejs*' ` },
115+ { title: 'DEB', content: ` apt-get update && apt-get --only-upgrade install 'alt-nodejs*' ` },
116+ { title: 'APK', content: ` apk update && apk upgrade 'alt-nodejs*' ` }
96117 ] " />
97118
98119</ELSSteps >
@@ -101,22 +122,9 @@ alt-nodejs provides a more flexible and convenient environment for working with
101122
102123<WhatsNext hide-title >
103124
104- * ![ ] ( /images/shield.webp ) [ Machine-readable security data] ( ../machine-readable-security-data/ ) — CSAF advisories and RSS feeds for Node.js ELS
125+ * ![ ] ( /images/eye.webp ) [ CVE Tracker] ( https://tuxcare.com/cve-tracker/?product=Node.js ) — Track vulnerability fixes and updates
126+ * ![ ] ( /images/shield.webp ) [ Available fixes] ( https://tuxcare.com/cve-tracker/fixes?product=Node.js ) — Patched versions and changelogs
127+ * ![ ] ( /images/clipboard-notes.webp ) [ Supported components] ( https://tuxcare.com/cve-tracker/products?product=Node.js ) — Full list of product parts covered by ELS
128+ * ![ ] ( /images/shield.webp ) [ Machine-readable security data] ( /els-for-runtimes/machine-readable-security-data/#nodejs ) — CSAF advisories and RSS feeds for Node.js ELS
105129
106130</WhatsNext >
107-
108- <!-- examples -->
109-
110- <script setup >
111-
112- const rpmex =
113- ` $ source /opt/alt/alt-nodejs18/enable
114- $ node -v
115- v18.20.8`
116-
117- const debex =
118- ` $ source /opt/alt/alt-nodejs18/enable
119- $ node -v
120- v18.20.8`
121-
122- </script >
0 commit comments