Difference between revisions of "Ubuntu"

From Sugar Labs
Jump to navigation Jump to search
(the actual virtual appliance is far more important than how to install it, reorder the text)
(168 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==Summary==
+
<noinclude>[[Category:Supported systems]]</noinclude>
 +
[[File:Ubuntu-small.jpg]]
  
You have an Ubuntu system and you wish to try Sugar?
+
:''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]
  
==Installation==
+
In relation to Sugar, Ubuntu is a downstream distribution project that can be used to run Sugar.
  
As of 2012-02, Ubuntu does not have a stable version of Sugar in the Ubuntu repositories.
+
==Ubuntu 18.04 Bionic==
  
Until this is fixed, try one of these options:
+
Sugar 0.112 will be in Ubuntu 18.04 Bionic.
* use [[Community/Distributions/Sweets_Distribution|Sweets]] on Ubuntu, recommended for Ubuntu 11.04, 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 unstable version 0.90 of Sugar, from the Ubuntu repositories, compatible with any version of Ubuntu, see [[#How_to_install_Sugar_0.90_on_Ubuntu_11.10|below]], or
 
* install from Sugar source.
 
  
===How to install Sweets on Ubuntu===
+
==Ubuntu 17.10 Artful==
  
Install packages on an Ubuntu system so that you may run Sugar.
+
Sugar 0.110 is in the archive for Ubuntu 17.10 Artful, and can be installed by typing
  
See [[Community/Distributions/Sweets#Ubuntu_and_its_derivates|How to install Sweets on Ubuntu]].
+
sudo apt install sucrose gir1.2-webkit-3.0
  
===How to install a virtual appliance===
+
* log out,
 +
* log in with the Sugar desktop selected.
  
Install a virtual appliance based on Ubuntu.
+
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].
  
See [[Sugar_Creation_Kit#Ubuntu_11.04_sweets-distribution_sugar_0.94|How to install an Ubuntu 11.04 Sweets Distribution Sugar 0.94 virtual appliance]].
+
==Using Sugar inside another desktop environment on Ubuntu==
  
*Tutorial: [[Sugar_Creation_Kit/sck/VirtualBox_Import|''' How to Import a virtual Appliance into VirtualBox''']] for detailed explanation
+
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.
  
There are other virtual appliances based on other distributions, which can be imported into virtualisation software on Ubuntu.
+
Install the Remote Desktop packages:
 +
sudo apt install xrdp rdesktop
  
See [[Emulator_image_files|Emulator image files]].
+
Create a user for Sugar and set a default desktop environment:
 +
sudo adduser sugar
 +
sudo su - sugar -c 'echo sugar >> .xsession'
  
===How to install Sugar 0.90 on Ubuntu 11.10===
+
Start a session:
 +
rdesktop -g 1200x900 -u sugar -p sugar 0
  
*click on Ubuntu Software Centre,
+
==Ubuntu 17.04 Zesty==
*search for Sugar,
 
*click on sugar-emulator-0.90,
 
*click on Install,
 
  
Sugar will be downloaded and installed.
+
Sugar 0.110 is in the archive for Ubuntu 17.04 Zesty, and can be installed by typing
  
To start Sugar, click on Dash, then search for Sugar.
+
sudo apt install sucrose
  
===How to install Sugar 0.90 on Ubuntu 11.04===
+
* 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 Applications, then Ubuntu Software Centre,
+
==Ubuntu 16.04 Xenial LTS==
*search for Sugar,
 
*click on 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) -->
  
==Using Sugar 0.90 on Ubuntu==
+
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.
  
There are many problems with Sugar 0.90 on Ubuntu, many of which have been fixed in a later version, so we recommend the above methods instead.
+
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.
 
===Problem: collaboration is broken===
 
  
Activity collaboration over a local area network does not work.  There is no workaround.
+
==OLPC Ubuntu Sugar 16.04 Xenial LTS ==
  
===Problem: unexpected dialog===
+
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.
  
A "Choose password for new keyring" dialog may appear the first time Sugar is started.
+
==See also==
 +
* [https://wiki.debian.org/Derivatives/Census/OLPC Debian Derivatives Census - OLPC]
  
Workaround: the dialog can be cancelled.
+
==Previous releases==
 +
See [[Ubuntu/Previous]] for how to install older versions of Sugar on older releases of Ubuntu.
  
===Problem: Browse activity does not work===
+
==Subpages==
 
+
{{Special:PrefixIndex/{{PAGENAME}}/}}
Browse can be installed, but does not work, because the Sugar Platform is incomplete on this version of Ubuntu; it is missing hulahop.
 
 
 
Workaround: use the Surf activity:
 
* download http://people.sugarlabs.org/Tgillard/Surf-115.xo
 
* install the bundle in a terminal by typing:
 
 
 
sugar-install-bundle Surf-115.xo
 
 
 
Workaround: use Firefox started from Terminal.  However, Firefox is not integrated with Sugar, and does not access the journal or install activity bundles.
 
 
 
===Problem: very few activities===
 
 
 
Only the Pippy and TurtleArt activities are included.
 
 
 
Workaround: you can download more Activities from [http://activities.sugarlabs.org/ activites.sugarlabs.org] using Surf.
 
 
 
Workaround: you can download more activities from Ubuntu.  Click on System, then Administration, then Synaptic Package Manager.  The packages names all start with ''sugar-'' and end with ''-activity''.  For example ''sugar-terminal-activity''.
 
 
 
Workaround: you can download more Activities from [http://activities.sugarlabs.org/ activites.sugarlabs.org] from outside of Sugar and install each .xo bundle individually in a terminal with:
 
 
 
sugar-install-bundle activity.xo
 
 
 
Activities that you install in a Sugar Terminal activity are automatically made favourites and will appear in the home view.
 
 
 
Activities that you install in GNOME Terminal are not automatically made favourites, and so do not appear in the home view.  Use the List View to mark them as favourites.
 
 
 
===Problem: Sugar is not full screen===
 
 
 
Sugar on Ubuntu is run in a window.  For some ages of learner, a full screen is better, to avoid distractions.
 
 
 
Workaround: to run Sugar full screen:
 
*Go to the menu Applications -> Education -> Sugar,
 
*Drag and drop the Sugar icon to the desktop,
 
*Right-click on Sugar icon and choose Properties,
 
*Change the command to:
 
  /usr/bin/sugar-emulator -f
 
*Use the desktop icon instead of the menu to start Sugar.
 
 
 
===Problem: no screensaver or power management controls in Sugar===
 
 
 
Sugar does not have screensaver or display power management controls compatible with Ubuntu.
 
 
 
Workaround: turn off screensaver and power management, using Terminal commands:
 
 
 
xset s off
 
xset -dpms
 

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