C
Christopher Latif
How do I remove Ruby 1.8.5 from linux? I have built it from source.
Citát Christopher Latif said:How do I remove Ruby 1.8.5 from linux? I have built it from source.
How do I remove Ruby 1.8.5 from linux? I have built it from source.
Simon said: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 -- haveSimon said: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.
Rob said: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.
M. Edward (Ed) Borasky said: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.
=20
David said:Or avoid the searing pain that is Debian deconstructivism.
Could you state precisely what you mean under this ? As I participate
to debian developing, there might be things I could help with in here ;-)
Wilson said::~$ dpkg -l |grep ruby
ii libdbm-ruby1.8 1.8.4-5 DBM interface for Ruby 1.8
ii libgdbm-ruby1. 1.8.4-5 GDBM interface for Ruby 1.8
ii libruby1.8 1.8.4-5 Libraries necessary to run Ruby 1.8
ii libruby1.8-dbg 1.8.4-5 Debugging symbols for Ruby 1.8
ii libtcltk-ruby1 1.8.4-5 Tcl/Tk interface for Ruby 1.8
ii ruby1.8 1.8.4-5 Interpreter of object-oriented
scripting lan
ii ruby1.8-dev 1.8.4-5 Header files for compiling extension
modules
ii ruby1.8-elisp 1.8.4-5 ruby-mode for Emacsen
ii ruby1.8-exampl 1.8.4-5 Examples for Ruby 1.8
I see your point, but for instance, you wouldn't want to pull in
database dependencies when you don't actually need any databases, or
even worse tk/x.org dependencies for a purely remote server... Do you
know a better way to do so ?
Wilson said:;-)
=20
:~$ dpkg -l |grep ruby
ii libdbm-ruby1.8 1.8.4-5 DBM interface for Ruby 1.8
ii libgdbm-ruby1. 1.8.4-5 GDBM interface for Ruby 1.8
ii libruby1.8 1.8.4-5 Libraries necessary to run Ruby 1.8
ii libruby1.8-dbg 1.8.4-5 Debugging symbols for Ruby 1.8
ii libtcltk-ruby1 1.8.4-5 Tcl/Tk interface for Ruby 1.8
ii ruby1.8 1.8.4-5 Interpreter of object-oriented
scripting lan
ii ruby1.8-dev 1.8.4-5 Header files for compiling extension
modules
ii ruby1.8-elisp 1.8.4-5 ruby-mode for Emacsen
ii ruby1.8-exampl 1.8.4-5 Examples for Ruby 1.8
=20
Vincent said:=20
Could you state precisely what you mean under this ? As I participate=
to debian developing, there might be things I could help with in here ;= -)...
=20
Wilson said:I think subtraction makes more sense than addition here. The Debian
Ruby packages have been the cause of countless hours of free support
here and on other Ruby-related mailing lists. 'Catastrophic' is not
too large a word here, in my opinion.
David said:HINT: A "standard ruby distribution" metapackage is a Good Idea. Name it
"ruby-full" or something if you will.
How do I remove Ruby 1.8.5 from linux? I have built it from source.
Wilson said:I think subtraction makes more sense than addition here. The Debian
Ruby packages have been the cause of countless hours of free support
here and on other Ruby-related mailing lists. 'Catastrophic' is not
too large a word here, in my opinion.
Substraction is nearly impossible with the way debian packages are
handled now. That would be a valuable addition to the project, but a
long term one.
In my [debian developper] opinion, it is not possible to merge the
packages you mentionned. But it would be possible to have a ruby-full
package that woul install all the packages that expect to make up a full
ruby distribution. Would that cheer you up ? You would have only one
package to select (but still many automatically installed). I'll forward
the idea to the debian ruby team (some of which are probably reading
this already...)
Wilson said:Yes, that would be awesome.
However, I think it should be called 'ruby', and the existing package
be renamed 'ruby-runtime' or something else similar but consistent
with existing naming schemes.
People seem to almost universally expect "apt-get install ruby" to
give them irb, rdoc, ri, and the ability to install extensions.
Virtually any change would be for the better, though.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.