May 12, 2021 Ruby
The steps for installing Ruby on unix machines are listed below.
Note: Before you install, make sure that you have root permissions.
$ tar -xvzf ruby-2.2.3.tgz $ cd ruby-2.2.3
$ ./configure $ make $ sudo make install
$ruby -v ruby 2.2.3……
If your computer is connected to the Internet, the easiest way to install Ruby is to use yum or apt-get. Enter the following command in the command prompt to install Ruby on your computer.
$ sudo yum install ruby # CentOS, Fedora, 或 RHEL 系统 或 sudo apt-get install ruby-full # Debian 或 Ubuntu 系统
If you are an Apple system, you can install it using the brew command:
$ brew install ruby