From: Rob Sanheim Date: 2006-12-22T00:55:04+09:00 Subject: Re: Remove Ruby 1.8.5? On 12/21/06, M. Edward (Ed) Borasky wrote: > Simon Strandgaard wrote: > > On 12/21/06, Christopher Latif wrote: > >> How do I remove Ruby 1.8.5 from linux? I have built it from source. > > > > I don't know how to remove ruby. However I just want to share a > > great tool with you that helps avoiding just this situation. > > http://www.gnu.org/software/stow/ > > > > > > the installation procedure is slightly longer when installing, > > but easy when uninstalling. > > > > this is the typical install procedure > > prompt> cd ~/stow > > prompt> mkdir leopard > > prompt> cd ~/leopard/src > > prompt> ./configure --prefix=/home/user/stow/leopard > > prompt> make > > prompt> make install > > prompt> cd ~/stow > > prompt> stow leopard > > > > > > this is the uninstall procedure > > prompt> cd ~/stow > > prompt> stow -D vista > > > Nearly all Linux distributions -- at least the widely used ones -- have > package management systems, and nearly all of them include a way to get > the most recent Ruby from a package repository. So it should be simple. > I've never heard of (or needed) stow. > > By the way, at least the three major package management systems -- > yum(Red Hat/Fedora/CentOS and some others), apt(Debian/Ubuntu and > others) and Portage(Gentoo) have source packages in the repository, and > installing a package from source is as easy (but takes longer) as > installing a pre-compiled binary. So the only reason for a direct > download and install of Ruby 1.8.5 is if you actually want to hack upon > Ruby itself. Well, that and you want to use the latest security release that came out a couple weeks ago - and it hasn't made it into the package repositories yet. - Rob