When I execute apt-get install ruby-full ruby-dev
I am getting ruby 2.3. I want ruby 1.9.3.
How do I get it to install ruby 1.9.3?
I'm using Ubuntu 16.0.4 Xenial.
When I execute apt-get install ruby-full ruby-dev
I am getting ruby 2.3. I want ruby 1.9.3.
How do I get it to install ruby 1.9.3?
I'm using Ubuntu 16.0.4 Xenial.
You didn't mentioned which version of Ubuntu you are using, anyway based on the version of ruby you are getting:
2.3
I guess you are runningxenial
or something newer that of that.If you search for the package you are looking for at Ubuntu Packages, you will see that your desired version
1.9.3
only exist intrusty
; so you simply can't install or downgrade it from2.3
to1.9.3
because it does not exist in any of your running Ubuntu repositories.So what you can do is installing it from a third party PPA, the closest thing to your desired version which I found is Brightbox Ruby PPA, they have compiled
1.9.1
for all available Ubuntu versions fromlucid
toyakkety
; They have a source package forzesty
but they didn't compile it yet.