Ruby RVM Install on Ubuntu 16.04 Xenial LTS Step by Step

October 24th, 2017 by thelinuxevangelist

RVM Install Ubuntu 16.04




Welcome Linux User! This Tutorial Shows You Step-by-Step How-to Ubuntu 16.04 Install Ruby Version Manager.

And inside the Ubuntu 16.04 Install Ruby Version Manager you find also Link to Getting-Started with RVM.

Finally RVM is a Command-line Tool which allows you to easily Install, Manage, and Work with Multiple Ruby Environments (Interpreters to sets of Gems).

Ruby RVM Install on Ubuntu 16.04 Xenial LTS Step by Step - Featured
  1. First Open a Shell session
    Ctr+Alt+t on desktop
    (Press “Enter” to Execute Commands)

    Ruby RVM Install on Ubuntu 16.04 Xenial LTS Step by Step - Terminal
    Or Login into Server Shell…
  2. Then Install cUrl & Gpg2

    sudo su -c "apt install -y curl; apt install -y gpg2"
  3. Finally Installing RVM
    First Import the GPG Key with:

    sudo gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3

    And The Install the Latest RVM:

    sudo su -c "curl -L https://get.rvm.io | bash -s stable"
  4. Follow with RVM Initial Setup

    1. Adding User to rvm Group

      sudo su -c "usermod -a -G rvm USERNAME"
    2. SetUp User to Load rvm on Console

      nano ~/.bashrc

      Inserts:

      source /etc/profile.d/rvm.sh

      Ctrl+x to Save & Exit :)

    3. Test rvm Installation

      Open a New Shell Window or Tab

      rvm -v

      That Should Give You a Welcome into RVM :)

  5. Getting-Started with RVM on Ubuntu Linux

    How-to Install and Manage Multiple Rubies

Tags: , , , , , , , ,