Updating your XO to the latest version
You might want to update all the software on your XO laptop when a new version of the software is released. It takes about 30 minutes, and you can use the following instructions to install all new updates without losing any data. Refer to wiki.laptop.org for the most recent version number and for information about updates and reasons for updating. For example, the version that shipped on Give 1 Get 1 XOs was 650 but it did not support certain wireless settings, so you could use this procedure to update to version 656.
To determine what version your XO currently contains, go to the Journal, and then press ctrl + alt + the Group View key (three dots) simultaneously from your Journal. In the output, look for the number after the word build. This example shows build 653:
OLPC build 653[/B] (stream ship.2; variant devel_jffs2)
Kernel 2.6.22-20071121.7.olpc.af3dd731d18bc39 on an i586
xo-0D-39-78 Login: To return to the Home View, press ctrl + alt + the Home View keys simultaneously.
- Plug the AC adapter into your XO and plug the adapter into an electrical outlet for constant power.
- Connect to the Internet by going to the Neighborhood View if necessary. If you cannot connect to the Internet, see the Tips section below.
- Open the Terminal Activity.
- Log in as root by typing su - l (lower case L, not the number one) and then press enter.
su -l
- Next, in the Terminal Activity, type:
olpc-update -rv version-number
- When the process is complete, the XO restarts and the update is complete.
Tips
-
If you cannot connect to the Internet with your XO, you can still update by connecting to the Internet from another computer and downloading the latest image from http://wiki.laptop.org/go/OS_images. Copy the image files to your USB device. Insert your USB device into your XO. Launch the Terminal Activity and type:
olpc-update --usb
- If your new software does not seem to work correctly, you can revert to the older version by holding down the O key on the game pad (between the right speaker and the power button) when you next turn on the XO.
- If you are upgrading because you have a version that does not support WiFi Protected Access (WPA) but that is your home Internet connection, you might want to access public wireless to connect to the Internet for an online upgrade, such as at a T-Mobile hotspot or a local libary.
- This process may take more than 30 minutes.
- As of build 703, which should be available in April 2008, you must install Activities separately from the Sugar operating system. If you update to build 703, refer to the Release Notes on wiki.laptop.org for more information: http://wiki.laptop.org/go/OLPC_Update.1_Software_Release_Notes.
Maintenance updates to the XO software
Periodically, such as every month or so, you can update the XO's system files without doing a complete update as described above.
- Connect to the Internet.
- Open the Terminal Activity.
- Log in as a root super user by typing:
su -l
and then press enter.
- Run a yum update by typing
yum - y update
and then press enter.
- Exit being logged in as super user by typing
exit
and then press enter.
- Click Stop in the Terminal Activity to stop the Terminal Activity and return to the Home View.