====== 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. [[http://tinyurl.com/36v6tq|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. - Ensure you are connected to the Internet. - Open a terminal by pressing: ''Ctrl Alt T'' - Type: ''sudo nano /etc/apt/sources.list'' - At the end of this file write: ''deb %%http://ftp.uk.debian.org/debian%% stable main contrib non-free'' - Press ''Ctrl X'', press ''Y'', press ''Return''. - Type: ''sudo apt-get update'' - Type: ''sudo apt-get install ruby irb rdoc'' - Press ''Y'', press ''Return''. - Type: ''sudo nano /etc/apt/sources.list'' - Remove the line you previously added to this file (see step 4.) - Press ''Ctrl X'', press ''Y'', press ''Return''. - Type: ''sudo apt-get update'' - Type: ''exit'' [[http://www.portabilite.info|rio b and you]] [[http://www.obtenir-rio.info|sfr]]