Donnerstag, 3. Mai 2007

Install ruby on debian sytems the apt way

If you want to install ruby through apt you normally get only the interpreter. If you want to install ruby with all it's tools, you need to take a look into the package description to find out what is missing.
apt-cache show ruby1.8
The output should be similar to the following:
Package: ruby1.8
Priority: optional
Section: interpreters
Installed-Size: 296
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: akira yamada <akira@debian.org>
Architecture: i386
Version: 1.8.5-4ubuntu2
Depends: libc6 (>= 2.5-0ubuntu1), libruby1.8 (>= 1.8.5)
Suggests: ruby1.8-examples, rdoc1.8, ri1.8
Filename: pool/main/r/ruby1.8/ruby1.8_1.8.5-4ubuntu2_i386.deb
Size: 217212
MD5sum: d2cedcce835b84af193332a413344b89
SHA1: 40c93e9a5df7ea9ed2567f6c8d843282c69a800a
SHA256: 7e756450dbdc504f94f67d936594c28d48923557fb7d4c32d6e9bfe147123729
Description: Interpreter of object-oriented scripting language Ruby 1.8
Ruby is the interpreted scripting language for quick and easy
object-oriented programming. It has many features to process text
files and to do system management tasks (as in perl). It is simple,
straight-forward, and extensible.
.
This package provides version 1.8 series of Ruby.
.
On Debian, Ruby 1.8 is provided as separate packages. You can get
full Ruby 1.8 distribution by installing following packages.
.
ruby1.8 ruby1.8-dev ri1.8 rdoc1.8 irb1.8 ruby1.8-elisp
ruby1.8-examples libdbm-ruby1.8 libgdbm-ruby1.8 libtcltk-ruby1.8
libopenssl-ruby1.8 libreadline-ruby1.8
Bugs: mailto:ubuntu-users@lists.ubuntu.com
Origin: Ubuntu
Task: kubuntu-desktop
As you can see the full install of ruby and it's tools would be:
sudo apt-get install ruby1.8 ruby1.8-dev ri1.8 rdoc1.8 irb1.8 \
ruby1.8-elisp ruby1.8-examples libdbm-ruby1.8 libgdbm-ruby1.8 \
libtcltk-ruby1.8 libopenssl-ruby1.8 libreadline-ruby1.8
So far so good. Maybe you need to add the the universe repositories to your /etc/apt/sources.list to install all the packages.
It would be nice if debian could provide a meta-package for those people who want all the ruby tools anyway.

Labels: ,

0 Kommentare:

Kommentar veröffentlichen

Links zu diesem Post:

Link erstellen

<< Startseite