← Older revision
Revision as of 08:10, 20 December 2016
(2 intermediate revisions by the same user not shown)
Line 1:
Line 1:
−
Raspbian is a
version
of [[Debian]] for the Raspberry Pi.
+
Raspbian is a
derivative
of [[Debian]] for the Raspberry Pi.
−
== Using
Sugar
on
Raspbian
==
+
In relation to
Sugar
,
Raspbian
is a downstream distribution project that can be used to run Sugar.
−
There are no pre-built Raspbian images for
Sugar.
To use Sugar in
Raspbian
is a long and difficult process, but is similar to the process for [[Debian]]:
+
== Using
Sugar
0
.
106 on
Raspbian
==
−
* install Raspbian ''
Wheezy
'' in the usual way,
+
To use Sugar in Raspbian is almost the same as using it in [[Debian]]:
−
* change <tt>/etc/apt/sources.list</tt> to use the ''Jessie'' testing release,
+
−
sudo sed -i 's/wheezy/jessie/g' /etc/apt/sources.list
+
* install Raspbian ''
Jessie
'' in the usual way,
−
* update the package lists,
+
−
sudo apt update
+
−
* apply the updates,
+
−
sudo apt dist-upgrade
+
* change <tt>/etc/apt/sources.list</tt> to use the ''Stretch'' testing release,
* change <tt>/etc/apt/sources.list</tt> to use the ''Stretch'' testing release,
sudo sed -i 's/jessie/stretch/g' /etc/apt/sources.list
sudo sed -i 's/jessie/stretch/g' /etc/apt/sources.list
Line 17:
Line 13:
sudo apt update
sudo apt update
* install Sugar,
* install Sugar,
−
sudo apt install sucrose
-0.104
+
sudo apt install sucrose
* select Sugar for your session,
* select Sugar for your session,
echo sugar > .Xsession
echo sugar > .Xsession
* reboot.
* reboot.
−
==
Turtle Art/Blocks
==
+
==
Pre-built Images
==
−
You can download [[Activities/Turtle Art]] and
access
it
through
the
LXDE interface
. You can either download it through the package manager (and get
an old
version):
+
There are no pre-built Raspbian images for Sugar.
+
+
== Using Sugar Activities without Sugar Desktop ==
+
+
=== Turtle Art/Blocks ===
+
+
You can download [[Activities/Turtle Art]] and
use
it
on
the
normal desktop
. You can either download it through the package manager (and get version
98
):
sudo apt-get install sugar-turtleart-activity
sudo apt-get install sugar-turtleart-activity
Line 32:
Line 34:
Or you could get the latest version using git:
Or you could get the latest version using git:
−
git clone github.com/
walterbender
/turtleart
+
git clone
https://
github.com/
sugarlabs
/
activity-turtleart-gtk2.git
turtleart
cd turtleart
cd turtleart
Line 52:
Line 54:
Alternatively, you can download the [http://sugarizer.org/org.olpc-france.sugarizer.zip Sugarizer client zip] and have it locally on your pi.
Alternatively, you can download the [http://sugarizer.org/org.olpc-france.sugarizer.zip Sugarizer client zip] and have it locally on your pi.
−
−
== Using APT-GET ==
−
−
{{warning|Activities do not seem to function. They seem to timeout before starting. Do you really want to run an old version of sugar on your pi?}}
−
−
A old version of Sugar ([[0.96/Notes|Sugar 0.96]]) can be found in the Raspbian repositories. You can install it with:
−
−
sudo apt-get install sucrose-0.96
−
−
Then set sugar as your desktop environment by opening/creating ''~/.xinitrc''. Set this file to:
−
−
sugar-emulator -f
−
−
Now whenever you ''startx'' you will have the delights of Sugar 0.96.
−
−
If you want to use activities other than Turtle Blocks or Pippy, you will need Browse to access the ASLO. You can install Browse by running:
−
−
wget http://download.sugarlabs.org/activities/4024/browse-129.1.xo
−
sugar-install-bundle browse-129.1.xo