Difference between revisions of "Debian"

From Sugar Labs
Jump to navigation Jump to search
(remove very old debian information no longer applicable)
(21 intermediate revisions by 3 users not shown)
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
 
* 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.106.0 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 olpc-activities
 
* 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 ==

Revision as of 20:36, 17 January 2018

Debian.jpg

Debian is a free operating system (OS) for your computer. An operating system is the set of basic programs and utilities that make your computer run. -- debian.org

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

Using Sugar 0.112 on Debian

Sugar 0.112 will be available in Debian Buster.

Using Sugar 0.110 on Debian

Sugar 0.110 is available in Debian Stretch:

  • install Debian Stretch in the usual way, see debian.org, and 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.

Known bugs include;

  • 848841 journal view multiple select does not show actions toolbar,
  • Browse busy cursor may get stuck on.

Pre-built Images

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 [1].

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 of Sugar on Debian is done by a team:

Sucrose packages are usually updated in the unstable release. These packages migrate to the testing release after a while. You can see the current package versions here.

Those interested in developing Sugar software should visit our developer documentation website.

Derivatives

Derivatives of Debian include:

See Also