Sugar on Ubuntu: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (added some more comments about running Sugar)
No edit summary
Line 1: Line 1:
==Installation==

The easiest way to install [[Sugar]] on Ubuntu is to use [[Sugar-jhbuild]]. The instructions on this page are for Ubuntu 6.06 "Dapper Drake."
The easiest way to install [[Sugar]] on Ubuntu is to use [[Sugar-jhbuild]]. The instructions on this page are for Ubuntu 6.06 "Dapper Drake."


== apt-get the prerequisites ==
=== apt-get the prerequisites ===


You need a number of packages from the Ubuntu repositories.
You need a number of packages from the Ubuntu repositories.
Line 13: Line 15:
sudo apt-get install git-core cogito
sudo apt-get install git-core cogito


== Using Sugar-jhbuild ==
=== Using Sugar-jhbuild ===


Use of Sugar-jhbuild is detailed on [[Sugar#Build_from_sources|building Sugar from sources]]. To summarize those instructions:
Use of Sugar-jhbuild is detailed on [[Sugar#Build_from_sources|building Sugar from sources]]. To summarize those instructions:
Line 23: Line 25:
If you were looking for the instructions that were here previously that detailed pulling libraries from CVS/git, check the revisions for this page.
If you were looking for the instructions that were here previously that detailed pulling libraries from CVS/git, check the revisions for this page.


== Testing sugar ==
=== Testing sugar ===


When using [[Sugar-jhbuild]], you can use:
When using [[Sugar-jhbuild]], you can use:
Line 37: Line 39:
Now (changeset 314) sugar looks like this.
Now (changeset 314) sugar looks like this.


See also: [[SugarDemo2TODO]], [[SugarDesignReview2]], [[Sugar]].
See also:[[Sugar design review 2]], [[Sugar]].


[[Category:Developers]]
[[Category:Developers]]

Revision as of 15:14, 29 June 2006

Installation

The easiest way to install Sugar on Ubuntu is to use Sugar-jhbuild. The instructions on this page are for Ubuntu 6.06 "Dapper Drake."

apt-get the prerequisites

You need a number of packages from the Ubuntu repositories.

sudo apt-get install libgtk2.0-dev libidl-dev gnome-common gtk-doc-tools libxt-dev automake1.7 automake1.9 python-gtk2-dev python2.4-avahi

There may be more packages required; if you find any more, please append them to this list.

You also want to install git, the SCM. The git SCM provided by the "git-core" package, not "git".

sudo apt-get install git-core cogito

Using Sugar-jhbuild

Use of Sugar-jhbuild is detailed on building Sugar from sources. To summarize those instructions:

git clone git://dev.laptop.org/sugar-jhbuild
cd sugar-jhbuild
./sugar-jhbuild

If you were looking for the instructions that were here previously that detailed pulling libraries from CVS/git, check the revisions for this page.

Testing sugar

When using Sugar-jhbuild, you can use:

./sugar-jhbuild run

if you want to run Sugar from the source tree (you're in the directory sugar-jhbuild/source/sugar), use:

shell/sugar

Sugar-ubuntu.png

Now (changeset 314) sugar looks like this.

See also:Sugar design review 2, Sugar.