2005-07-21

Ruby on Debian

In Debian Woody and Sarge (previous stable and current stable trees as of today), the ruby packages are split up into many packages. This has caused problems to Debian users not having enough dpkg-foo skill, which are many.

The situation is corrected in Debian unstable, but it would be a while before the correction trickles down to testing, and even longer to stable.

In the meantime, you can do this instead:
 
apt-get install grep-dctrl    # gives you grep-availablea
apt-get install `grep-available -ns Package -F Source -X ruby-defaults`
pt-get install `grep-available -ns Package -F Source -X ruby1.8`
apt-get install libopenssl-ruby

which would install all ruby packages produced from the official ruby1.8 source tarball.
 
~ $ grep-available -ns Package -F Source -X ruby-defaults
libgdbm-ruby
libruby
libtcltk-ruby
libiconv-ruby
rdoc
libcurses-ruby
libsyslog-ruby
libsdbm-ruby
libreadline-ruby
ri
libdbm-ruby
libxmlrpc-ruby
irb
ruby
libyaml-ruby
libpty-ruby
libtk-ruby
libtest-unit-ruby
libdl-ruby
ruby-elisp
 
~$ grep-available -ns Package -F Source -X ruby1.8
ruby1.8-elisp
libopenssl-ruby1.8
ri1.8
ruby1.8-examples
libdbm-ruby1.8
libreadline-ruby1.8
libruby1.8
libgdbm-ruby1.8
libruby1.8-dbg
irb1.8
libtcltk-ruby1.8
rdoc1.8
ruby1.8-dev
Total packages: 23 packages.
 
~ $ grep-available -ns Package -F Source -X ruby1.8|wc -l
13

~ $ grep-available -ns Package -F Source -X ruby-defaults|wc -l
20 
 
(originally from http://microjet.ath.cx/WebWiki/RubyOnDebian.html)

No comments: