Friday, November 4, 2016

Installing Ruby 2.3 on Ubuntu 14.04 or Older

Ubuntu 14.04 comes with the version 1.9 of Ruby. I need a new version of Ruby. To install any version of 2.0 - 2.3, we can use the brightbox repository as follows,

$ sudo apt-add-repository ppa:brightbox/ruby-ng
$ sudo apt-get update
$ sudo apt-get install ruby2.3  # or ruby2.2
$ sudo apt-get install ruby2.3-dev 

No comments:

Post a Comment