I installed ruby 1.9 on my fedora 13 machine from source. I want to go back and use the older 1.8.6 (which I'll install with yum), unfortunetly it appears that I can't simply uninstall my current version by "make uninstall" (make: *** No rule to make target
uninstall'. Stop.`).
Is there any way of doing this other than removing each individual file?
There is a file in the build directory called
.installed.list
. This appears to be a list of all the files that get installed.If ruby was installed in the following way:
You can uninstall it in the following way:
Check installed ruby version; lets assume 2.1.2
After installation, you can now remove the package and it will remove the directories/files/etc.
There might be some artifacts left:
Remove them manually.
Look in the Makefile to see if there's another target such as
remove
.You can run the following commands: