Raspbian

Revision as of 22:56, 27 December 2016 by Quozl (talk | contribs)

Raspbian is a derivative of Debian for the Raspberry Pi.

In relation to Sugar, Raspbian is a downstream distribution project that can be used to run Sugar.

Using Sugar 0.110 on Raspbian

To use Sugar in Raspbian is almost the same as using it in Debian:

  • install Raspbian Jessie in the usual way,
  • change /etc/apt/sources.list to use the Stretch testing release,
sudo sed -i 's/jessie/stretch/g' /etc/apt/sources.list
  • update the package lists,
sudo apt update
  • update the packages,
sudo apt upgrade,
  • install Sugar,
sudo apt install sucrose
  • select Sugar for your session,
echo sugar > .Xsession
  • reboot.

Pre-built Images

There are no pre-built Raspbian images for Sugar.

Using Sugar Activities without Sugar Desktop

Debian packaging of Sugar Activities adds them to the Education menu, so they can be used from desktops other than Sugar.

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

Turtle art will be added to the Education section of the apps menu.

Or you could get the latest version using git:

   git clone https://github.com/sugarlabs/activity-turtleart-gtk2.git turtleart
   cd turtleart

And use the following to start Turtle Art:

   python turtleblocks.py

NOTE: you may encounter an error related to the summary field in the activity.info. If so, open the activity/activity.info file and move the summary field from the bottom of the file, to being the line below the title field

Sugarizer

Sugarizer is a HTML5 version of Sugar. It has a basic journal and full web activity support.

You can configure Sugarizer to auto-start by setting your ~/.xinitrc to:

   epiphany server.sugarizer.org

(Note: there are a few issues with the browser icons... but sugarizer works well)

Alternatively, you can download the Sugarizer client zip and have it locally on your pi.