Home » How to Install Ruby in Ubuntu

How to Install Ruby in Ubuntu

by Online Tutorials Library

How to Install Ruby on Ubuntu 16.04 LTS?

Introduction

Ruby is a dynamic, general purpose programming language. It was designed and developed by Yukihiro Matsumoto in mid-1990s.

It is cross-platform and supports multiple programming paradigm to develop application, Its file extension is .rb.

Prerequisites

  • Ubuntu
  • login as a root user in terminal

Ruby Installation

We can use APT manager to install ruby. The following command install all the required packages in our system.

Software Ruby 1

Verify Ruby

This command displays the ruby version which indicates that ruby has installed successfully.

Software Ruby 2

Well, we have installed Ruby successfully on Ubuntu operating system.

You may also like