Sugar on Ubuntu: Difference between revisions

From OLPC
Jump to navigation Jump to search
(→‎apt-get the prerequisites: fixed to make multiple apt-gets as cut and pasted from the old way it truncated the last half of the packages. tomhiggins)
Line 7: Line 7:
You need a number of packages from the Ubuntu repositories. Some of these packages are not available for the stock Ubuntu install, and you may need to enable the ''universe'' and ''multiverse'' repositories.
You need a number of packages from the Ubuntu repositories. Some of these packages are not available for the stock Ubuntu install, and you may need to enable the ''universe'' and ''multiverse'' repositories.


sudo apt-get install build-essential cvs subversion libgtk2.0-dev libidl-dev gnome-common gtk-doc-tools libxt-dev
sudo apt-get install build-essential cvs subversion libgtk2.0-dev libidl-dev gnome-common
automake1.7 automake1.9 python-gtk2-dev python2.4-avahi git-core cogito python-dev avahi-utils mozilla-dev
sudo apt-get install gtk-doc-tools libxt-dev automake1.7 automake1.9 python-gtk2-dev python2.4-avahi
libgconf2-dev xnest
sudo apt=get install git-core cogito python-dev avahi-utils mozilla-dev libgconf2-dev xnest


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

Revision as of 05:46, 24 July 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. Some of these packages are not available for the stock Ubuntu install, and you may need to enable the universe and multiverse repositories.

sudo apt-get install build-essential cvs subversion  libgtk2.0-dev libidl-dev gnome-common
sudo apt-get install gtk-doc-tools libxt-dev automake1.7 automake1.9 python-gtk2-dev python2.4-avahi
sudo apt=get install git-core cogito python-dev avahi-utils mozilla-dev libgconf2-dev xnest

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

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 enter in a jhbuild shell:

./sugar-jhbuild shell 

Then from 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.