Debian

From Sugar Labs
Revision as of 18:33, 12 November 2009 by Jonas (talk | contribs) (0.86 changed package name. Lenny backport updated to final 0.86 release.)
Jump to navigation Jump to search

Sugar on Debian

Debian.jpg

The Sugar packages for Debian provide a Sugar environment that is easy to install and can be configured as an X11 session in GDM or run in a window with sugar-emulator.

It is a much simpler platform to set up for activity developers than jhbuild, although is not bleeding-edge.

Sugar on Debian is packaged and maintained by the Alioth OLPC team, who welcomes new contributors to test, document, triage, and make packages.

Sugar on Debian 5.0 (Lenny)

Official Sucrose 0.82

Old, only partial, but officially included in Lenny

These are the core parts of Sugar that was packaged in early 2009 and got included officially with the stable Debian 5.0 release, codename "Lenny".

Most of 0.82 Sucrose and Sucrose is included, with the notable exceptions of Read, Write and Etoys.

Installation instructions:

sudo aptitude install sugar

Additional Sugar activities can be installed locally from .xo packages. Some activities requiring additional library code (like Read and Write), needs specially crafted .xo packages, however - the standard released ones won't work.

We do recommend using the version 0.84 packages instead, as mentioned below:

Sucrose 0.84 and 0.86

Up-to-date version, unofficial repository

Improvements to official Debian packaging of Sugar, made after the release of Lenny, have been carefully backported by same developers and made available as unofficial addon to Lenny.

Installation instructions:

sudo sh -c 'echo deb http://debian.jones.dk/ lenny sugar > /etc/apt/sources.list.d/sugar.list'
sudo aptitude update 
sudo aptitude install sucrose-0.86

For Sucrose 0.84 just replace package name on last line with sugar-0.84 (NB! whole package name changed, not only the number).

(above works for i386 and amd64 platforms - please post to debian-olpc-devel@lists.alioth.debian.org if other architectures are wanted)

Sucrose 0.86

Up-to-date version, unofficial repository

Sugar on Debian unstable (Sid)

Sid, the never-released development branch of Debian, currently contains Sucrose 0.84 and 0.86 packages.

Installation instructions:

sudo aptitude install sucrose-0.86

For Sucrose 0.84 just replace package name on last line with sugar-0.84 (NB! whole package name changed, not only the number).

Usage

Run sugar in a window under another desktop (GNOME, KDE, XFCE etc.):

sugar-emulator

Logfiles and other data are stored below ~/.sugar

You can start Sugar using an alternative profile (e.g. to run multiple virtual Sugar environments concurrently) with the following command instead:

SUGAR_PROFILE=another_profile sugar-emulator

If you need verbose log files for debugging, use the following command instead:

SUGAR_LOGGER_LEVEL=debug PRESENCESERVICE_DEBUG=1 sugar-emulator

If everything is working fine, you can log into Sugar from the GDM login screen instead of running sugar-emulator.

Resources