I installed ruby1.9.1 from source using sudo make install. How can I uninstall this?
Basically I just don't want 'ruby' to map to ruby1.9.1, but instead the default 1.8.7.
Also sudo make uninstall does nothing.
|
I installed ruby1.9.1 from source using Basically I just don't want 'ruby' to map to ruby1.9.1, but instead the default 1.8.7. Also
| ||||
|
feedback
|
|
Check the makefile for a 'make uninstall' target. Sometimes they come with those. Failing that, the best you can do is carefully read the 'make install' target and then manually undo what it did. | |||
|
feedback
|
|
A related side note for anyone who wanders by in the future: if you want multiple Ruby interpreters, you should absolutely be using rvm.
See here for the basics of installation and here for usage basics. | ||||
feedback
|
|
This is more of a ruby specific thing, so it almost now belongs in SO. Here is what to do (as per this blog post.
| |||
|
feedback
|
make uninstallfrom the directory with the./condigure'd sources you used to install? – honk Jun 19 '10 at 17:16sudo make unisntallwas a typo in the question post, not the command you actually tried? cause that shouldn't work butsudo make uninstallmight. – quack quixote Jun 19 '10 at 17:24