Linux installation using a package manager
suggest changeProbably the easiest choice, but the packaged version is not always the newest one. Open a terminal and type the command for your distribution.
On Debian or Ubuntu, using apt:
$> sudo apt install ruby
On Fedora, and on current CentOS, using dnf (older releases used yum):
$> sudo dnf install ruby
On openSUSE, using zypper:
$> sudo zypper install ruby
You can pass -y so the package manager does not ask you to confirm. It is still worth reading what it plans to install.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents