Sugar on Debian: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Undo revision 186776 by 198.83.124.250 (Talk))
(purge outdated info, add links to current docs instead)
Line 3: Line 3:
{{jhbuild-nav}}
{{jhbuild-nav}}


= Native packages =
Please contribute instructions for getting [[Sugar]] to work with [http://debian.org/ Debian GNU/Linux].


Lenny contains a minimal subset of the Sugar 0.82 packages, squeeze/sid has some 0.84 packages as well.
-------
See the [http://wiki.debian.org/Sugar Sugar page on the Debian wiki] for details.
= Installing sugar on Debian Unstable =


= Using sugar-jhbuild =
Simplest is to use officially packaged Sugar packages:


To get the latest development versions you can use [http://wiki.sugarlabs.org/go/Development_Team/Jhbuild sugar-jhbuild].
aptitude install sugar


== Debian-OLPC ==
This method now works in Debian Testing as of May 22, 2008 ([http://lists.lo-res.org/pipermail/its.an.education.project/2008-May/000691.html IAEP: Core Sugar framework now in Debian Testing!])


* Now there is a debian-olpc project [http://alioth.debian.org/projects/debian-olpc/ alioth debian-olpc]
The rest of this page is about ways to build Sugar software yourself on a Debian system...


* You can join the [http://lists.alioth.debian.org/pipermail/debian-olpc-devel/ mailing list]
== Get sugar-jhbuild ==

aptitude install git-core

Get sugar-jhbuild through git as described in [[Sugar with sugar-jhbuild]].

== Run sugar-jhbuild ==

cd sugar-jhbuild
./sugar-jhbuild update
./sugar-jhbuild build

If update fails with:
ImportError: No Module name ctypes
Try running
aptitude install python-ctypes

Plenty of dependencies are likely to fail.

For build-base, you should need:

aptitude install libtool libsqlite3-dev libnspr4-dev docbook-xsl intltool

Now, this is ALL you need if you want to spend many hours compiling many packages:

== The Dependencies ==

You have two ways to get the dependencies: Build-base and building/installing packages manually from sid archives.

=== Alternative 1: Build Base ===

This is easy, but it takes a long time and builds custom versions of all the dependencies (rather than getting them through apt).

./sugar-jhbuild build-base

This takes a long time, but will work. After that, do 'build' and 'run'.

=== Alternative 2: Install dependency libraries directly from Debian Sid ===

* [http://wiki.debian.org/Sugar Debian Sugar] (contains notes both on official packaging and on build-dependencies for manual builds)

=== Alternative 3: Installing from apt ===

* Install main sugar package (pulls in all dependent and recommended packages)

apt-get install sugar
* Optionally search for packages mentioning sugar in their package description

apt-cache search sugar

* Optionally install and use a smarter search (includes packages fuzzily related to sugar too)

aptitude install apt-cache
apt-cache search sugar

==== Sugar packages officially in Debian ====

python-olpc-datastore - Sugar graphical shell - datastore
sugar-presence-service - Sugar graphical shell - presence service
sugar-sharedstate-classes - sharedstate classes for the Sugar graphical shell
sugar-sharingtest-activity - sharingtest activity for the Sugar graphical shell
python-sugar - Sugar graphical shell - core functionality
python-sugar-toolkit - Sugar graphical shell - core widgets
sugar - window manager from the OLPC project
sugar-artwork - Sugar graphical shell - artwork
sugar-calculate-activity - calculate activity for the Sugar graphical shell
sugar-journal-activity - journal activity for the Sugar graphical shell
sugar-pippy-activity - pippy activity for the Sugar graphical shell

==== Related Bugs ====

* [http://qa.debian.org/developer.php?login=debian-olpc-devel@lists.alioth.debian.org package status] for OLPC-related packages, including links to bugs.

== Debian-OLPC ==

* Now there is an debian-olpc project [http://alioth.debian.org/projects/debian-olpc/ alioth debian-olpc]

* You can join the [http://lists.alioth.debian.org/pipermail/debian-olpc-devel/ mail list]


== External links ==
== External links ==


* [http://el-directorio.org/SuGar Documentation in Spanish]
* [http://wiki.debian.org/DebianEdu/OLPC/ Debian-edu OLPC in Debian Wiki]
* [http://wiki.debian.org/DebianEdu/OLPC/ Debian-edu OLPC in Debian Wiki]

== See also ==
== See also ==
* [[Installing Debian as an upgrade]]
* [[Installing Debian as an upgrade]]

=Problems and Solutions=

* It seems plausible that while run dependency check, python-cairo and gtk2.0 have problems while installing dependencies, (dev libraries) try installing first the gtk2.0 libraries, that should erase the dependence on python-cairo.



[[Category:Installing Sugar]]
[[Category:Installing Sugar]]

Revision as of 15:20, 6 July 2009

This Page is being considered for moving to Sugar Labs
Information on moving content between wikis can be found at OLPC:Transwiki#SugarLabs.
Please use the discussion page to make comments about
how this move affects you and see other's comments.

http://wiki.sugarlabs.org/go/Community/Distributions/Debian

Developer's Setup
 Fedora
 Ubuntu
 Debian
 Gentoo
 Slackware
Wiki Category
modify 

Native packages

Lenny contains a minimal subset of the Sugar 0.82 packages, squeeze/sid has some 0.84 packages as well. See the Sugar page on the Debian wiki for details.

Using sugar-jhbuild

To get the latest development versions you can use sugar-jhbuild.

Debian-OLPC

External links

See also