|
|
(92 intermediate revisions by 7 users not shown) |
Line 1: |
Line 1: |
| {{TOCright}}
| | Moved to https://github.com/sugarlabs/sugar/blob/master/docs/debian.md |
| = Sugar on Debian =
| |
| | |
| [[Image: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 [http://alioth.debian.org/projects/debian-olpc/ Alioth OLPC team], who welcomes new contributors to test, document, triage, and make packages.
| |
| __TOC__
| |
| == 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 --with-recommends 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, replace last line with the following:
| |
| sudo aptitude --with-recommends 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)
| |
| | |
| === 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 use this command instead:
| |
| sudo aptitude --with-recommends install sugar-0.84
| |
| | |
| == 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 ==
| |
| | |
| * http://wiki.debian.org/Sugar
| |
| * http://alioth.debian.org/projects/debian-olpc/
| |
| | |
| [[Category:Supported systems]]
| |