Install Bibledit on Fedora OLPC

Introduction

Bibledit runs on Fedora OLPC, hereafter called F-OLPC.

As the OLPC (One Laptop Per Child) is not yet available, a development board is used instead.

In these instructions you'll learn how to set up this board, then you will install Bibledit together with all the libraries and programs it depends on.

Operating System and Networking

Instructions on how to install the operating system on the development board are at http://wiki.laptop.org/go/Software. Install for example builld 91 on the board. The build number is not so important, as long as it works. If everything works out well, you will have F-OLPC running on your board. Login.

We will be needing a terminal to work in the system. To do that, press F6 and wait till the terminal comes up.

Get the networking going, see http://wiki.laptop.org/go/OS_images for instructions. This is because we're going to transfer files to the OLPC through the network. Set the password for user "root", so that we are able to access the OLPC through ssh.

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 6, hereafter called FC6. Therefore all software that works on FC6 will also work on F-OLPC.

What will we do therefore to install Bibledit on F-OLPC? We will install FC6 on a normal computer, and install Bibledit on it. Then we will look for all programs and libraries Bibledit depends on, we know 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

FC6

Download FC6 and install it on a computer.

Then install Bibledit as you would install it on Fedora Core 6.

Ensure that Bibledit runs properly.

Then collect all files and dependencies Bibledit needs. To do this, type

bibledit-olpc-librarian bibledit-olpc

This will create a file called bibledit-olpc.tar.gz. This file contains all files and dependencies you need to get Bibledit on F-OLPC. The size of it will be about 9 Mbyte.

F-OLPC

The next step is to copy this the bibledit-olpc.tar.gz tarball to the F-OLPC image, and unpack it there.

Copy the tarball to the OLPC through the wireless network. Move it to the root directory.

To unpack the tarball on the OLPC, login as root, and type

cd /
tar zxf ~/bibledit-olpc.tar.gz

Everything should be ready now for running Bibledit.

Running

Reboot the OLPC. Start the terminal activity, then type

bibledit

There you are, Bibledit on OLPC.