| 
 | 1 | +# Ruby  | 
 | 2 | + | 
 | 3 | +Endless Lifecycle Support (ELS) for Ruby from TuxCare provides security fixes for Ruby versions that have reached their end-of-life. This allows you to continue running your server vulnerability-free.  | 
 | 4 | + | 
 | 5 | +## Supported OS and Ruby versions  | 
 | 6 | + | 
 | 7 | +**Supported architecture:** 64-bit.  | 
 | 8 | + | 
 | 9 | +| Operating Systems                                            | Package Type | OS Version                        |  | 
 | 10 | +| :----------------------------------------------------------: | :----------: | :-------------------------------: |  | 
 | 11 | +| EL 7 (CentOS, CloudLinux, Oracle Linux, etc.)                | RPM          | 7.x                               |  | 
 | 12 | +| EL 8 (CentOS, CentOS Stream, CloudLinux, Oracle Linux, etc.) | RPM          | 8.x                               |  | 
 | 13 | +|  EL 9 ( AlmaLinux, CentOS, CloudLinux, Oracle Linux, etc.)   | RPM          | 9.x                               |  | 
 | 14 | +| Ubuntu                                                       | DEB          | 18.04, 20.04, 22.04, 24.04        |  | 
 | 15 | +| Debian                                                       | DEB          | 10, 11, 12, 13                    |  | 
 | 16 | + | 
 | 17 | +**For supported Ruby versions, see [cve.tuxcare.com](LINK).**  | 
 | 18 | + | 
 | 19 | +* Other distros and architectures upon request.  | 
 | 20 | + | 
 | 21 | +## Installation Instructions  | 
 | 22 | + | 
 | 23 | +The following steps are provided for both **RPM-based** (CentOS, CentOS Stream, CloudLinux, Oracle Linux, AlmaLinux, etc) and **DEB-based** (Debian, Ubuntu) systems. Please select the appropriate tab for your distribution.  | 
 | 24 | + | 
 | 25 | +1. Download the installer script:  | 
 | 26 | + | 
 | 27 | +   <CodeTabs :tabs="[  | 
 | 28 | +     { title: 'RPM', content: `wget https://repo.alt.tuxcare.com/alt-ruby-els/install-els-alt-ruby-rpm-repo.sh` },  | 
 | 29 | +     { title: 'DEB', content: `wget https://repo.alt.tuxcare.com/alt-ruby-els/install-els-alt-ruby-deb-repo.sh` }  | 
 | 30 | +   ]" />  | 
 | 31 | + | 
 | 32 | +2. Run the installer script with your key. The installation script registers the server to CLN with the key, and adds our PGP key and repository to the server.  | 
 | 33 | + | 
 | 34 | +   <CodeTabs :tabs="[  | 
 | 35 | +     { title: 'RPM', content: `sh install-els-alt-ruby-rpm-repo.sh --license-key XXX-XXXXXXXXXXXX` },  | 
 | 36 | +     { title: 'DEB', content: `bash install-els-alt-ruby-deb-repo.sh --license-key XXX-XXXXXXXXXXXX` }  | 
 | 37 | +   ]" />  | 
 | 38 | + | 
 | 39 | +3. Verify that the installation was successful.  | 
 | 40 | + | 
 | 41 | +    To ensure the installation has been completed successfully, run the following command. It should return info about a package. If information about the package is available it means that installation was successful. After which, updates will be available for installation from the repository using the usual command:  | 
 | 42 | + | 
 | 43 | +    <CodeTabs :tabs="[  | 
 | 44 | +      { title: 'RPM', content: `yum upgrade` },  | 
 | 45 | +      { title: 'DEB', content: `apt upgrade` }  | 
 | 46 | +    ]" />  | 
 | 47 | + | 
 | 48 | +4. Install Ruby package.  | 
 | 49 | + | 
 | 50 | +   * Standard commands to install each version separately, for example, installing alt-rubyVERSION:  | 
 | 51 | + | 
 | 52 | +     <CodeTabs :tabs="[  | 
 | 53 | +       { title: 'RPM', content: `yum install alt-rubyVERSION*` },  | 
 | 54 | +       { title: 'DEB', content: `apt-get install alt-rubyVERSION*` }  | 
 | 55 | +     ]" />  | 
 | 56 | + | 
 | 57 | +   * To install all versions at the same time:  | 
 | 58 | + | 
 | 59 | +     <CodeTabs :tabs="[  | 
 | 60 | +       { title: 'RPM', content: `yum groupinstall alt-ruby` },  | 
 | 61 | +       { title: 'DEB', content: `apt-get install alt-ruby` }  | 
 | 62 | +     ]" />  | 
 | 63 | + | 
 | 64 | +   * To find out which groups/meta-package are available for installation, use the following command:  | 
 | 65 | + | 
 | 66 | +     <CodeTabs :tabs="[  | 
 | 67 | +       { title: 'RPM', content: `sudo yum group list` },  | 
 | 68 | +       { title: 'DEB', content: `apt list -a | grep alt-ruby` }  | 
 | 69 | +     ]" />  | 
0 commit comments