How do I install Ruby 1.9.3 on Ubuntu without RVM?

后端 未结 4 1320
野趣味
野趣味 2021-02-02 12:23

I want to install ruby 1.9.3 on Ubuntu without rvm

I run

sudo apt-get install ruby

It\'s taking ruby 1.8 and ruby 1.9.1.

And i

4条回答
  •  Happy的楠姐
    2021-02-02 13:13

    Compiling from Source is the standard way.

    Download source code from Here, Use README file to get instruction.

    Another method is apt package manager system.

    $ sudo apt-get install ruby1.9.1
    

    Yes, this will install Ruby 1.9.2. It has a ‘library compatibility version’ of 1.9.1, hence the name.

    If you install the ‘ruby’ package, you’ll get the older Ruby 1.8.

提交回复
热议问题