Difference between revisions of "Ubuntu"

From Sugar Labs
Jump to navigation Jump to search
m (moved Community/Distributions/Ubuntu to Ubuntu: restructure)
(126 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
<noinclude>[[Category:Supported systems]]</noinclude>
 +
[[File:Ubuntu-small.jpg]]
  
==Summary==
+
:''Ubuntu is a [[Debian]]-based Linux operating system, with Unity as its default desktop environment.'' -- [http://en.wikipedia.org/wiki/Ubuntu_%28operating_system%29 wikipedia.org]
  
You have an Ubuntu system and you wish to try Sugar?
+
In relation to Sugar, Ubuntu is a downstream distribution project that can be used to run Sugar.
  
==Installation==
+
==Ubuntu 18.04 Bionic==
  
As of 2012-03, Ubuntu does not have a complete, stable version of Sugar in the Ubuntu repositories. In particular, there is no compatible web browser.
+
Sugar 0.112 will be in Ubuntu 18.04 Bionic.
  
Until this is fixed, try one of these options:
+
==Ubuntu 17.10 Artful==
* use [[Community/Distributions/Sweets_Distribution|Sweets]] on Ubuntu, see [[#How_to_install_Sweets_on_Ubuntu|below]],
 
* use a virtual appliance, compatible with any version of Ubuntu, see [[#How_to_install_a_virtual_appliance|below]],
 
* use the incomplete version that Ubuntu provide, see the last section below, or
 
* install from Sugar source.
 
  
{| border="1" cellspacing="0" cellpadding="2" width="100%" class="wikitable"
+
Sugar 0.110 is in the archive for Ubuntu 17.10 Artful, and can be installed by typing
! your ubuntu release
 
! your best options for trying Sugar
 
|-
 
| Ubuntu 12.04
 
| [[#How_to_install_a_virtual_appliance|use a virtual appliance]]
 
|-
 
| Ubuntu 11.10
 
| [[#How_to_install_Sweets_on_Ubuntu|use Sweets Distribution]] or [[#How_to_install_a_virtual_appliance|use a virtual appliance]]
 
|-
 
| Ubuntu 11.04
 
| [[#How_to_install_Sweets_on_Ubuntu|use Sweets Distribution]] or [[#How_to_install_a_virtual_appliance|use a virtual appliance]]
 
|-
 
| Ubuntu 10.10
 
| [[#How_to_install_Sweets_on_Ubuntu|use Sweets Distribution]] or [[#How_to_install_a_virtual_appliance|use a virtual appliance]]
 
|-
 
| Ubuntu 10.04 LTS
 
| [[#How_to_install_Sweets_on_Ubuntu|use Sweets Distribution]] or [[#How_to_install_a_virtual_appliance|use a virtual appliance]]
 
|}
 
  
===How to install Sweets on Ubuntu===
+
sudo apt install sucrose gir1.2-webkit-3.0
  
Install packages on an Ubuntu system so that you may run Sugar.
+
* log out,
 +
* log in with the Sugar desktop selected.
  
See [[Community/Distributions/Sweets#Installation|How to install Sweets Distribution]].
+
Installing the package gir1.2-webkit-3.0 is a workaround for [https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877812 Debian bug #877812].
  
===How to install a virtual appliance===
+
==Using Sugar inside another desktop environment on Ubuntu==
  
Install a virtual appliance based on Ubuntu:
+
Sugar is a desktop environment.  For developers who use Ubuntu Unity, Gnome or another desktop environment, Sugar can be run inside that environment as a window.
  
*the [[Sugar_Creation_Kit#Ubuntu_11.04_sweets-distribution_sugar_0.94|Ubuntu 11.04 Sweets Distribution Sugar 0.94 virtual appliance]],
+
Install the Remote Desktop packages:
*a tutorial on [[Sugar_Creation_Kit/sck/VirtualBox_Import|How to Import a virtual Appliance into VirtualBox]].
+
sudo apt install xrdp rdesktop
  
There are other virtual appliances based on other distributions, which can be imported into virtualization software on Ubuntu.
+
Create a user for Sugar and set a default desktop environment:
 +
sudo adduser sugar
 +
sudo su - sugar -c 'echo sugar >> .xsession'
  
*see [[Emulator_image_files|Emulator image files]].
+
Start a session:
 +
rdesktop -g 1200x900 -u sugar -p sugar 0
  
===How to install Sugar on Ubuntu ===
+
==Ubuntu 17.04 Zesty==
  
There are many problems with Sugar on Ubuntu (see [[/0.90|a list for 0.90]]), many of which have been fixed in a later version of Sugar, so we recommend the [[#How_to_install_Sweets_on_Ubuntu|Sweets]] or [[#How_to_install_a_virtual_appliance|virtual appliance]] methods above instead.
+
Sugar 0.110 is in the archive for Ubuntu 17.04 Zesty, and can be installed by typing
  
In particular, there is no compatible web browser included, though there is a [[/0.90#Problem:_Browse_activity_does_not_work|workaround]].
+
sudo apt install sucrose
  
However, if you wish to to install Sugar on Ubuntu:
+
* log out,
 +
* log in with the Sugar desktop selected.
 +
<!-- last tested with Ubuntu 17.04 Zesty daily live image dated 2017-03-21 plus updates on 30th March 2017 -->
  
*click on Ubuntu Software Center,
+
==Ubuntu 16.04 Xenial LTS==
*search for Sugar,
 
*click on sugar-emulator or sugar,
 
*click on Install,
 
*if asked about other required applications, click to install.
 
  
Sugar will be downloaded and installed.
+
Sugar 0.106 is in the archive for Ubuntu 16.04 Xenial, and can be installed by typing
  
To start Sugar, click on Applications, then Education, then Sugar.
+
sudo apt install sucrose
 +
<!-- last tested with Ubuntu 16.04.1 Xenial) -->
  
See [[Emulator/Full Screen|how to create a desktop icon that runs Sugar full screen]].
+
Sugar 0.112 can be installed by careful addition of the Ubuntu 18.04 Bionic packages; temporarily change sources.list, update, and install the Sugar packages again, then restore sources.list.
  
See [[Community/Distributions/Ubuntu/Previous]] for how to install older versions of Sugar on older versions of Ubuntu using Ubuntu Software Center.
+
Organisations that require Ubuntu 16.04 support for Sugar may consider getting involved in the Ubuntu [https://wiki.ubuntu.com/StableReleaseUpdates Stable Release Updates] process.
 +
 
 +
==OLPC Ubuntu Sugar 16.04 Xenial LTS ==
 +
 
 +
One Laptop per Child has been curating Sugar 0.112 and Activities on the Ubuntu 16.04 Xenial operating system.  This build has entered production, and can be acquired through private negotiation or by ordering laptops from OLPC.
 +
 
 +
==See also==
 +
* [https://wiki.debian.org/Derivatives/Census/OLPC Debian Derivatives Census - OLPC]
 +
 
 +
==Previous releases==
 +
See [[Ubuntu/Previous]] for how to install older versions of Sugar on older releases of Ubuntu.
 +
 
 +
==Subpages==
 +
{{Special:PrefixIndex/{{PAGENAME}}/}}

Revision as of 20:34, 17 January 2018

Ubuntu-small.jpg

Ubuntu is a Debian-based Linux operating system, with Unity as its default desktop environment. -- wikipedia.org

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

Ubuntu 18.04 Bionic

Sugar 0.112 will be in Ubuntu 18.04 Bionic.

Ubuntu 17.10 Artful

Sugar 0.110 is in the archive for Ubuntu 17.10 Artful, and can be installed by typing

sudo apt install sucrose gir1.2-webkit-3.0
  • log out,
  • log in with the Sugar desktop selected.

Installing the package gir1.2-webkit-3.0 is a workaround for Debian bug #877812.

Using Sugar inside another desktop environment on Ubuntu

Sugar is a desktop environment. For developers who use Ubuntu Unity, Gnome or another desktop environment, Sugar can be run inside that environment as a window.

Install the Remote Desktop packages:

sudo apt install xrdp rdesktop

Create a user for Sugar and set a default desktop environment:

sudo adduser sugar
sudo su - sugar -c 'echo sugar >> .xsession'

Start a session:

rdesktop -g 1200x900 -u sugar -p sugar 0

Ubuntu 17.04 Zesty

Sugar 0.110 is in the archive for Ubuntu 17.04 Zesty, and can be installed by typing

sudo apt install sucrose
  • log out,
  • log in with the Sugar desktop selected.

Ubuntu 16.04 Xenial LTS

Sugar 0.106 is in the archive for Ubuntu 16.04 Xenial, and can be installed by typing

sudo apt install sucrose

Sugar 0.112 can be installed by careful addition of the Ubuntu 18.04 Bionic packages; temporarily change sources.list, update, and install the Sugar packages again, then restore sources.list.

Organisations that require Ubuntu 16.04 support for Sugar may consider getting involved in the Ubuntu Stable Release Updates process.

OLPC Ubuntu Sugar 16.04 Xenial LTS

One Laptop per Child has been curating Sugar 0.112 and Activities on the Ubuntu 16.04 Xenial operating system. This build has entered production, and can be acquired through private negotiation or by ordering laptops from OLPC.

See also

Previous releases

See Ubuntu/Previous for how to install older versions of Sugar on older releases of Ubuntu.

Subpages