Changes

Jump to navigation Jump to search
3,313 bytes removed ,  20:36, 17 January 2018
no edit summary
Line 6: Line 6:  
In relation to Sugar, Debian is a downstream distribution project that can be used to run Sugar.
 
In relation to Sugar, Debian is a downstream distribution project that can be used to run Sugar.
   −
== Using Sugar on Debian ==
+
== Using Sugar 0.112 on Debian ==
   −
There are no pre-built Debian images for Sugar. Sugar is available in Debian. To use Sugar in Debian:
+
Sugar 0.112 will be available in Debian ''Buster''.
   −
* install Debian ''Jessie'' in the usual way, see [https://www.debian.org/ debian.org],
+
== Using Sugar 0.110 on Debian ==
* change <tt>/etc/apt/sources.list</tt> to use the Debian ''Stretch'' testing release,
  −
sudo sed -i 's/jessie/stretch/g' /etc/apt/sources.list
  −
* update the package lists,
  −
sudo apt update
  −
* install Sugar,
  −
sudo apt install sucrose-0.104
  −
* start a display manager or reboot,
  −
sudo service gdm3 start
  −
* log in with the Sugar desktop selected.
     −
We use the testing ''Stretch'' release because Sugar is not in the current stable ''Jessie'' release, as it was not ready. But this has been fixed.
+
Sugar 0.110 is available in Debian ''Stretch'':
   −
== Testing Sugar on Debian ==
+
* install Debian ''Stretch'' in the usual way, see [https://www.debian.org/ debian.org], and [https://www.debian.org/releases/stretch/debian-installer/ debian-installer],
 +
* when asked mid-way through install what to include, deselect all,
 +
* when the install has completed, log in, install Sugar, a display manager, and reboot,
 +
sudo apt install sucrose lightdm
 +
exec sudo reboot
 +
* in the graphical login screen, change from the default X session to Sugar,
 +
* log in as your non-root user, created during install.
   −
One Laptop per Child has been curating Sugar and Activities that can be used on Debian, and are in some cases more recent than the Debian ''Jessie'' stable release, or the Debian ''Stretch'' testing release. This will change over time, as package version numbers are kept below Debian versions so that Debian packages will be installed by preference.
+
Known bugs include;
 +
* [https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848841 848841] journal view multiple select does not show actions toolbar,
 +
* Browse busy cursor may get stuck on.
   −
How to add Sugar 0.105.3 (unstable) to a Debian ''Jessie'' system:
+
== Pre-built Images ==
* edit <tt>/etc/apt/sources.list</tt> to add the OLPC archive,
  −
deb [trusted=yes] <nowiki>http://dev.laptop.org/pub/us</nowiki> stretch main
  −
* update the package lists,
  −
sudo apt update
  −
* install Sugar,
  −
sudo apt install sucrose-0.104 olpc-activities olpc-powerd- git- fakeroot- consolekit-
  −
* log out of your default desktop, and then log in with the Sugar desktop selected.
     −
Note: only amd64 architecture is supported. This removes the Abiword support for the Write activity on 32-bit systems.
+
There are few pre-built Debian images for Sugar, and the tools available in Debian make this easy for any integration or deployment team.  There's no need for us to duplicate documentation here.
 +
 
 +
See also https://wiki.debian.org/SugarBlend for one method and an image.
 +
 
 +
See also [[Debian/Raspberry Pi]] for the Raspberry Pi, a [[GSoC]] work in progress, based on an image builder [https://github.com/drtyhlpr/rpi23-gen-image.git|rpi23-gen-image].
 +
 
 +
See also [[0.112#Testing]] for Sugar [[Live Build]], an image for testing a new release of Sugar, or for certain development tasks.
    
== Packaging ==
 
== Packaging ==
Line 61: Line 59:  
* [https://wiki.debian.org/Sugar Sugar page on the Debian Wiki],
 
* [https://wiki.debian.org/Sugar Sugar page on the Debian Wiki],
 
* the Debian Edu product [[Skolelinux]]
 
* the Debian Edu product [[Skolelinux]]
  −
====Debian Live====
  −
:Manual: http://live.debian.net/manual/current/index.en.html
  −
:Download: http://cdimage.debian.org/cdimage/release/current-live/
  −
::Index: http://cdimage.debian.org/cdimage/
  −
  −
====Point Linux====
  −
[http://pointlinux.org/index.html Point Linux] is a GNU/Linux distribution that aims to combine the power of Debian GNU/Linux with the productivity of MATE, the Gnome 2 desktop environment fork.
  −
  −
== Notes on install to USB disk ==
  −
  −
*[http://cdimage.debian.org/cdimage/ Main cdimage Downloads Debian]
  −
:[http://www.debian.org/devel/debian-installer/ '''debian-installer''']
  −
:[http://cdimage.debian.org/cdimage/release/current-live/i386/iso-hybrid/debian-live-6.0.2-i386-gnome-desktop.iso download squeeze_live-i386-iso-hybrid]
  −
:[http://blog.einval.com/2011/01/07#isohybrid_CDs isohybrid_CD info]
  −
*[http://wiki.debian.org/InstallToUsbMemoryStick InstallToUsbMemoryStick]
  −
'''example:'''
  −
dd if=debian-xxxxxxxx.iso of=/dev/sdX
  −
  −
== Install Sugar via Synaptic ==
  −
:[http://cdimage.debian.org/cdimage/release/current-live/i386/iso-hybrid/debian-live-6.0.2-i386-gnome-desktop.iso download squeeze_live-i386-iso-hybrid]
  −
  −
Install to HD
  −
Reboot
  −
start Synaptic
  −
Repositories select all 3
  −
select Server for USA
  −
click all 3 boxes
  −
Third Party Software
  −
  <nowiki>http://......</nowiki>
  −
reload
  −
search for "sugar"
  −
click on all 0.88 sugar packages
  −
apply
  −
[[Emulator/Full Screen|how to configure full screen]]
  −
Browse Activities  (Download the activities you want)
  −
  −
  −
== Fixing dependencies in Wheezy ==
  −
This article describes the process to compile Sugar on Debian testing Wheezy, in order to install sugar-jhbuild.
  −
  −
http://humitos.wordpress.com/2012/03/19/compile-sugar-on-debian-testing-wheezy
  −
  −
== GTK3 in Debian Wheezy ==
  −
(From http://www.mail-archive.com/sugar-devel@lists.sugarlabs.org/msg26211.html)
  −
  −
On Tue, Apr 24, 2012 at 17:45, Manuel Kaufmann <humitos@gmail.com> wrote:
  −
> Do you have a clue about this?
  −
  −
This was my workaround to this problem:
  −
  −
1. /etc/apt/sources.list
  −
  −
  deb ftp://ftp.us.debian.org/debian/ unstable main contrib non-free
  −
  deb-src ftp://ftp.us.debian.org/debian/ unstable main contrib non-free
  −
  −
2. update the package database
  −
  −
  sudo apt-get update
  −
  −
3. download the source code
  −
  −
  cd /tmp
  −
  mkdir pygobject
  −
  apt-get source python-gi
  −
  −
4. install dependencies
  −
  −
  sudo apt-get build-dep python-gi
  −
  sudo apt-get install python-gobject-2-dbg
  −
  −
5. compile python-gi
  −
  −
  cd pygobject-3.2.0
  −
  wget -c http://mkaufmann.com.ar/~humitos/olpc/pygi-d37680bb9390426f7f58ea3d352c3e5e2106e978_modified.patch
  −
  git apply pygi-d37680bb9390426f7f58ea3d352c3e5e2106e978_modified.patch
  −
  dpkg-buildpackage -rfakeroot -b
  −
  −
6. install compiled packages
  −
  −
  sudo dpkg -i ../*.deb
  −
  −
Now, when I run "./sugar-jhbuild run sugar-emulator" I can see the
  −
icons and the toolbar properly.
  −
== Testing ==
  −
Where Debian is installed via the Debian installer or virtual machine, Sugar has been reported to run nicely.
  −
:Sugar 0.88.0 works nicely in Debian squeeze.
  −
Low footprint versions (eg no Gnome Display Manager) with SLiM and Openbox only, are reported [[User:Inkyfingers/Debian | in this link]] to cause a problem.
 

Navigation menu