@@ -22,13 +22,19 @@ alt-ruby provides a more flexible and convenient environment for working with di
2222
2323## Supported OS and Ruby versions
2424
25- | Operating Systems | Package Type | OS Version |
26- | :---------------: | :----------: | :------------: |
27- | Debian | DEB | 12, 13 |
28-
29- ** Supported Ruby versions:** 2.6, 2.7, 3.0, 3.1
30-
31- ** Supported architecture:** x86_64 (64-bit)
25+ | Operating Systems | Package Type | OS Version | Ruby versions |
26+ | :----------------------------------------------------------------------: | :----------: | :--------: | :---------------------------: |
27+ | EL 8 (AlmaLinux, CentOS, CentOS Stream, CloudLinux, Oracle Linux, etc.) | RPM | 8.x | 2.7, 3.0, 3.1, 3.2 |
28+ | EL 9 (AlmaLinux, CentOS, CloudLinux, Oracle Linux, etc.) | RPM | 9.x | 2.7, 3.0, 3.1, 3.2 |
29+ | EL 10 (AlmaLinux, CloudLinux, Oracle Linux, etc.) | RPM | 10.x | 2.7, 3.0, 3.1, 3.2 |
30+ | Debian | DEB | 11 | 2.7, 3.0, 3.1, 3.2 |
31+ | Debian | DEB | 12 | 2.6, 2.7, 3.0, 3.1, 3.2 |
32+ | Debian | DEB | 13 | 2.6, 2.7, 3.0, 3.1, 3.2 |
33+ | Ubuntu | DEB | 22.04 | 2.7, 3.0, 3.1, 3.2 |
34+ | Ubuntu | DEB | 24.04 | 2.7, 3.0, 3.1, 3.2 |
35+ | Alpine Linux | APK | 3.22 | 2.6, 2.7, 3.0, 3.1, 3.2 |
36+
37+ ** Supported architectures:** x86_64 on all OSes; aarch64 on Alpine Linux in addition to x86_64
3238
3339<
ContactSales text =
" Other distros and architectures available upon request. Contact [email protected] for more information. " />
3440
@@ -45,52 +51,71 @@ alt-ruby provides a more flexible and convenient environment for working with di
4551
46521 . Download the installer script
4753
48- ``` text
49- wget https://repo.alt.tuxcare.com/alt-ruby-els/install-els-alt-ruby-deb-repo.sh
50- ```
54+ <CodeTabs : tabs ="[
55+ { title: 'RPM', content: ` wget https://repo.alt.tuxcare.com/alt-ruby-els/install-els-alt-ruby-rpm-repo.sh ` },
56+ { title: 'DEB', content: ` wget https://repo.alt.tuxcare.com/alt-ruby-els/install-els-alt-ruby-deb-repo.sh ` },
57+ { title: 'APK', content: ` wget https://repo.alt.tuxcare.com/alt-ruby-els/install-els-alt-ruby-apk-repo.sh ` }
58+ ] " />
5159
52602 . Run the installer script with your license key
5361
5462 The script registers the server with CLN, adds the PGP key and repository.
5563
56- ``` text
57- bash install-els-alt-ruby-deb-repo.sh --license-key XXX-XXXXXXXXXXXX
58- ```
64+ <CodeTabs : tabs ="[
65+ { title: 'RPM', content: ` sh install-els-alt-ruby-rpm-repo.sh --license-key XXX-XXXXXXXXXXXX ` },
66+ { title: 'DEB', content: ` bash install-els-alt-ruby-deb-repo.sh --license-key XXX-XXXXXXXXXXXX ` },
67+ { title: 'APK', content: ` sh install-els-alt-ruby-apk-repo.sh --license-key XXX-XXXXXXXXXXXX ` }
68+ ] " />
5969
60703 . Install a Ruby version
6171
62- ``` text
63- apt-get install alt-ruby27
64- ```
72+ <CodeTabs : tabs ="[
73+ { title: 'RPM', content: ` yum install alt-ruby27 ` },
74+ { title: 'DEB', content: ` apt-get install alt-ruby27 ` },
75+ { title: 'APK', content: ` apk add alt-ruby27 ` }
76+ ] " />
6577
6678 To see available packages:
6779
68- ``` text
69- apt list -a | grep alt-ruby
70- ```
80+ <CodeTabs : tabs ="[
81+ { title: 'RPM', content: ` yum list available 'alt-ruby*' ` },
82+ { title: 'DEB', content: ` apt list -a | grep alt-ruby ` },
83+ { title: 'APK', content: ` apk search alt-ruby ` }
84+ ] " />
7185
72864 . Verify the installation
7387
74- ` alt-ruby ` versions are installed alongside the system default. To use a specific version:
88+ Check that the binary exists and returns the expected version:
7589
7690 ``` text
77- source /opt/alt/alt-ruby27/enable
78- ruby -v
91+ /opt/alt/<ruby-version>/bin/ruby -v
7992 ```
8093
81- 5 . Update packages
94+ Optionally, add it to ` PATH ` to use it as default:
8295
8396 ``` text
84- apt-get update
85- apt-get --only-upgrade install alt-ruby*
97+ export PATH=/opt/alt/<ruby-version>/bin:$PATH
98+ ruby -v
99+ which ruby
86100 ```
87101
102+ 5 . Update packages
103+
104+ <CodeTabs : tabs ="[
105+ { title: 'RPM', content: ` yum update 'alt-ruby*' ` },
106+ { title: 'DEB', content: ` apt-get update && apt-get --only-upgrade install 'alt-ruby*' ` },
107+ { title: 'APK', content: ` apk update && apk upgrade 'alt-ruby*' ` }
108+ ] " />
109+
88110</ELSSteps >
89111
90112## What's Next?
91113
92114<WhatsNext hide-title >
93115
116+ * ![ ] ( /images/eye.webp ) [ CVE Tracker] ( https://tuxcare.com/cve-tracker/?product=Ruby ) — Track vulnerability fixes and updates
117+ * ![ ] ( /images/shield.webp ) [ Available fixes] ( https://tuxcare.com/cve-tracker/fixes?product=Ruby ) — Patched versions and changelogs
118+ * ![ ] ( /images/clipboard-notes.webp ) [ Supported components] ( https://tuxcare.com/cve-tracker/products?product=Ruby ) — Full list of product parts covered by ELS
94119* ![ ] ( /images/shield.webp ) [ Machine-readable security data] ( ../machine-readable-security-data/ ) — CSAF advisories and RSS feeds for Ruby ELS
95120
96- </WhatsNext >
121+ </WhatsNext >
0 commit comments