Blog Forum Wiki Links Contact Us NetbookUser
 
Translations of this page:

How To: Install Ruby

By default, Ruby is installed on the Eee PC. However, it is lacking both the rdoc and irb packages needed to follow many books (eg. Beginning Ruby) and other learning material provided by academic institutions. This How To describes how to install rdoc and irb, and ensure that your Ruby is compatible with them, without making any other lasting changes to your system.

  1. Ensure you are connected to the Internet.
  2. Open a terminal by pressing: Ctrl Alt T
  3. Type: sudo nano /etc/apt/sources.list
  4. At the end of this file write: deb http://ftp.uk.debian.org/debian stable main contrib non-free
  5. Press Ctrl X, press Y, press Return.
  6. Type: sudo apt-get update
  7. Type: sudo apt-get install ruby irb rdoc
  8. Press Y, press Return.
  9. Type: sudo nano /etc/apt/sources.list
  10. Remove the line you previously added to this file (see step 4.)
  11. Press Ctrl X, press Y, press Return.
  12. Type: sudo apt-get update
  13. Type: exit
 
howto/installruby.txt · Last modified: 2007/11/18 07:50 by teacup
 
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki