Difference between revisions of "Debian"

From Sugar Labs
Jump to navigation Jump to search
Line 10: Line 10:
 
Sugar 0.110 is available in Debian ''Stretch'':
 
Sugar 0.110 is available in Debian ''Stretch'':
  
* install Debian ''Jessie'' in the usual way, see [https://www.debian.org/ debian.org],
+
* 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],
* change <tt>/etc/apt/sources.list</tt> to use the Debian ''Stretch'' testing release,
+
* when asked mid-way through install what to include, deselect all,
sudo sed -i 's/jessie/stretch/g' /etc/apt/sources.list
+
* when the install has completed, log in as root, install Sugar, a display manager, and reboot,
* update the package lists,
+
  apt install sucrose lightdm
sudo apt update
+
exec reboot
* upgrade all packages,
+
* in the graphical login screen, change from the default X session to Sugar,
sudo apt dist-upgrade
+
* log in as your non-root user, created during install.
* install Sugar,
 
  sudo apt install sucrose
 
* log out,
 
* 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; "due to critical issues with collaboration discovered during freeze of the distribution release process".  But this has been fixed.
 
 
 
To help avoid this happening again, test early and test often.
 
  
 
== Pre-built Images ==
 
== Pre-built Images ==

Revision as of 20:38, 12 June 2017

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.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 as root, install Sugar, a display manager, and reboot,
apt install sucrose lightdm
exec reboot
  • in the graphical login screen, change from the default X session to Sugar,
  • log in as your non-root user, created during install.

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 https://github.com/drtyhlpr/rpi23-gen-image.git for an image builder for Raspberry Pi.

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