Sugar on Ubuntu: Difference between revisions
m (added some more comments about running Sugar) |
|||
Line 25: | Line 25: | ||
== Testing sugar == |
== Testing sugar == |
||
When using [[Sugar-jhbuild]], use: |
When using [[Sugar-jhbuild]], you can use: |
||
sugar-jhbuild run |
./sugar-jhbuild run |
||
if you want to run Sugar from the source tree, |
if you want to run Sugar from the source tree (you're in the directory sugar-jhbuild/source/sugar), use: |
||
shell/sugar |
shell/sugar |
Revision as of 23:11, 27 June 2006
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
Now (changeset 314) sugar looks like this.
See also: SugarDemo2TODO, SugarDesignReview2, Sugar.