Difference between revisions of "Debian"
(0.86 changed package name. Lenny backport updated to final 0.86 release.) |
(Include --with-recommends where appropriate, and revert to sugar-0.86 on Sid (sucrose-0.86 not yet approved by ftpmaster).) |
||
Line 21: | Line 21: | ||
Installation instructions: | Installation instructions: | ||
− | sudo aptitude install sugar | + | 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. | 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. | ||
Line 38: | Line 38: | ||
sudo aptitude install sucrose-0.86 | sudo aptitude install sucrose-0.86 | ||
− | For Sucrose 0.84 | + | 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) | (above works for i386 and amd64 platforms - please post to debian-olpc-devel@lists.alioth.debian.org if other architectures are wanted) | ||
Line 51: | Line 52: | ||
Installation instructions: | Installation instructions: | ||
− | sudo aptitude install | + | sudo aptitude --with-recommends install sugar-0.86 |
− | For Sucrose 0.84 just replace | + | For Sucrose 0.84 just replace the trailing version with 0.84. |
== Usage == | == Usage == |
Revision as of 06:22, 13 November 2009
Sugar on Debian
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 --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 --with-recommends install sugar-0.86
For Sucrose 0.84 just replace the trailing version with 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.