How can I uninstall Ruby on ubuntu?

khanh picture khanh · Oct 18, 2010 · Viewed 147.7k times · Source

How can I uninstall Ruby 1.9.2dev (2010-07-02) [i486-linux] on ubuntu? Need to reinstall - please help

Answer

jwueller picture jwueller · Oct 18, 2010

This command should do the trick (provided that you installed it using a dpkg-based packet manager):

aptitude purge ruby