Difference between revisions of "Debian"

From Sugar Labs
Jump to navigation Jump to search
(0.84 and 0.86 now packaged!)
Line 4: Line 4:
 
[[Image:Debian.jpg]]
 
[[Image:Debian.jpg]]
  
The Sugar packages for Debian provide a Sugar environment that is easy to install and can be configured as an X session in gdm or run in a window with sugar-emulator.
+
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.
 
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 [http://alioth.debian.org/projects/debian-olpc/ Alioth OLPC team], who welcome new contributors to test, document, triage, and make packages.
+
Sugar on Debian is packaged and maintained by the [http://alioth.debian.org/projects/debian-olpc/ Alioth OLPC team], who welcomes new contributors to test, document, triage, and make packages.
 
__TOC__
 
__TOC__
 
== Sugar on Debian 5.0 (Lenny) ==
 
== Sugar on Debian 5.0 (Lenny) ==
Line 25: Line 25:
 
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.
 
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.82 packages instead, as mentioned below:
+
We do recommend using the version 0.84 packages instead, as mentioned below:
  
=== Sucrose 0.82 ===
+
=== Sucrose 0.84 ===
  
 
'''Up-to-date version, unofficial repository'''
 
'''Up-to-date version, unofficial repository'''
Line 36: Line 36:
 
  sudo sh -c 'echo deb http://debian.jones.dk/ lenny sugar > /etc/apt/sources.list.d/sugar.list'
 
  sudo sh -c 'echo deb http://debian.jones.dk/ lenny sugar > /etc/apt/sources.list.d/sugar.list'
 
  sudo aptitude update  
 
  sudo aptitude update  
  sudo aptitude install sugar
+
  sudo aptitude install sugar-0.84
  
 
(above works for i386 and amd64 platforms - please post to debian-olpc-devel@lists.alioth.debian.org if other architectures are wanted)
 
(above works for i386 and amd64 platforms - please post to debian-olpc-devel@lists.alioth.debian.org if other architectures are wanted)
 +
 +
A development release of the upcoming 0.86 release is available too - just replace the trailing version with 0.86.
  
 
== Sugar on Debian unstable (Sid) ==
 
== Sugar on Debian unstable (Sid) ==
  
Sid, the never-released development branch of Debian, currently contains Sucrose 0.82 packages.
+
Sid, the never-released development branch of Debian, currently contains Sucrose 0.84 and 0.86 packages.
  
 
Installation instructions:
 
Installation instructions:
  sudo aptitude install sugar
+
sudo sh -c 'echo deb http://debian.jones.dk/ sid sugar > /etc/apt/sources.list.d/sugar.list'
 +
sudo aptitude update
 +
  sudo aptitude install sugar-0.84
 +
 
 +
(adding the unofficial source is needed until metacity is updated - see http://bugs.debian.org/547346 )
 +
 
 +
A development release of the upcoming 0.86 release is available too - just replace the trailing version with 0.86.
  
 
== Usage ==
 
== Usage ==
Line 60: Line 68:
 
  SUGAR_LOGGER_LEVEL=debug PRESENCESERVICE_DEBUG=1 sugar-emulator
 
  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.
+
If everything is working fine, you can log into Sugar from the GDM login screen instead of running sugar-emulator.
  
 
== Resources ==
 
== Resources ==

Revision as of 17:54, 19 September 2009

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

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 sugar-0.84

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

A development release of the upcoming 0.86 release is available too - just replace the trailing version with 0.86.

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 sh -c 'echo deb http://debian.jones.dk/ sid sugar > /etc/apt/sources.list.d/sugar.list'
sudo aptitude update 
sudo aptitude install sugar-0.84

(adding the unofficial source is needed until metacity is updated - see http://bugs.debian.org/547346 )

A development release of the upcoming 0.86 release is available too - just replace the trailing version with 0.86.

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