Sugar on Debian: Difference between revisions

From OLPC
Jump to navigation Jump to search
(FIELD_OTHER)
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{ProposeMoveToSugarLabs}}
http://wiki.sugarlabs.org/go/Community/Distributions/Debian
{{jhbuild-nav}}
{{jhbuild-nav}}


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


'''This page has been [http://wiki.sugarlabs.org/go/Community/Distributions/Debian moved] to the Sugar Labs wiki.'''
-------
= Installing sugar on Debian Unstable =


Simplest is to use officially packaged Sugar packages:

aptitude install sugar

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!])

The rest of this page is about ways to build Sugar software yourself on a Debian system...

== 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)

FIELD_MESSAGE_ricracle

== 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 ==

* [http://el-directorio.org/SuGar Documentation in Spanish]
* [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]]

Latest revision as of 18:52, 25 September 2010

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

Page moved to Sugar Labs

This page has been moved to the Sugar Labs wiki.

See also