Install Bibledit 1.4 on Fedora OLPC

From Bibledit

Contents

[]

Note: This is under construction and does not yet work

[]

Introduction

Installing Bibledit on Fedora OLPC, hereafter called F-OLPC, is possible.

As the OLPC (One Laptop Per Child) is not yet available, a simulator is used to simulate this laptop.

In these instructions you'll learn how to set up this simulator, then you will install all the libraries and programs that Bibledit depends on, and finally you'll install Bibledit itself.

[]

Simulator

There are instructions on how to set up the simulator at http://people.redhat.com/berrange/olpc/sdk. If followed exactly, and everything works out well, you will have F-OLPC running on your PC, and you'll be in Gnome. If things do not work out, there is the #olpc IRC channel where people might be kind enough to help out.

We will be needing a terminal to work in the simulator. To do that, in Gnome right-click on the top panel, and choose Add to panel..., then choose Custom Application Launcher. Put “xterm” for the command. Press Ok to close all Windows, and the launcher will be on the panel. Click on the panel to start a terminal.

[]

Strategy

Normally you would install Bibledit by compiling it on the laptop. But F-OLPC is not set up for compiling programs. Installing software goes through copying a self-contained image to it. This image contains the program and all its dependencies.

At present the F-OLPC firmware image is binary compatible with Fedora Core 5 test 2, hereafter called FC5t2. Therefore all software that works on FC5t2 will also work on F-OLPC.

What will we do therefore to install Bibledit on F-OLPC? We will install FC5t2 on a normal computer, and install Bibledit on it. Then we will look for all programs and libraries Bibledit depends on, find out which ones are already on F-OLPC, and gather the ones that are missing. Then we will copy them into a tarball, move the tarball to F-OLPC, and unpack it there. And that finishes the Bibledit installation.

[]

Installation

[]

Installed files

We need to get a list of libraries and programs and other files that are already intalled on F-OLPC. Do it this way:

  • Go to the computer where F-OLPC is installed.
  • Open a terminal.
  • Ensure F-OLPC is shut down. If needed type
olpc-simulator stop demo
  • Create the directory where the image of F-OLPC will be mounted. Type
cd
mkdir olpc-image
  • Mount the image. If we assume that the image is ~/olpc-2006_02_06_16_08.ext3, then type
sudo mount -o loop,offset=32256 -t ext3 ~/olpc-2006_02_06_16_08.ext3 ~/olpc-image

No errors should occur.

  • To get a list of files on the image, type
ls -R ~/olpc-image > ~/olpc-files

It will say "Permission denied" several times, but this is normal. When ready file ~/olpc-files contains a list of all files on F-OLPC. The size of the file will be a bit more than 500 kbytes.

[]

FC5t2

Download FC5t2 and install it on a computer.

Download the iso images from the internet. Search for either FC5-test2-i386-DVD.iso or FC5-test2-i386-disc1.iso up to disc5. Burn these images to DVD or CD. Install FC5t2. When asked to select software packages, select everything, so that anything you need gets installed. Then install Bibledit, see Basic Installation.

Personal tools