How to install Ruby on Ubuntu 18.04

Profile picture for user devraj

Ruby is a dynamic, open source programming language with a focus on simplicity and productivity.

It has an elegant syntax that is natural to read and easy to write.

There can be several ways of installing Ruby on Ubuntu 18.04. You may have installed Ruby with different techniques but installing it using terminal is very simple.

1. Install Ruby using Ubuntu Terminal

Use below command to install

$ sudo apt-get install ruby-full