Difference between revisions of "Ubuntu"

From Sugar Labs
Jump to navigation Jump to search
(183 intermediate revisions by 4 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]
  
As of 2012-02, Ubuntu does not have a stable version of Sugar in the Ubuntu repositories.  Until this is fixed, your choices are:
+
In relation to Sugar, Ubuntu is a downstream distribution project that can be used to run Sugar.
* use [[Community/Distributions/Sweets_Distribution|Sweets]] on Ubuntu, (recommended),
 
* use a virtual appliance,
 
* use the unstable version 0.90 of Sugar, from the Ubuntu repositories,
 
* switch to the [[Community/Distributions/Trisquel|Trisquel distribution]],
 
* switch to [[Community/Distributions|some other distribution]], or;
 
* install from Sugar source.
 
  
==How to install Sweets on Ubuntu==
+
==Ubuntu 17.04 Zesty==
  
This is explained in a section of the Sweets distribution page:
+
Sugar 0.110 is in the archive for Ubuntu 17.04 Zesty, and can be installed by typing
  
*[[Community/Distributions/Sweets#Ubuntu_and_its_derivates How to install Sweets on Ubuntu]]
+
sudo apt install sucrose
  
==How to install a virtual appliance ==
+
* 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 -->
  
This is explained in a section of the Sugar Creation Kit page:
+
== Using Sugar inside another desktop environment ==
  
*http://wiki.sugarlabs.org/go/Sugar_Creation_Kit#Ubuntu_11.04_sweets-distribution_sugar_0.94
+
Sugar is a desktop environment. For developers who use Ubuntu Unity or another desktop environment, Sugar can be run inside that environment as a window.
  
==How to install Sugar 0.90 on Ubuntu 11.10==
+
Install the Remote Desktop packages:
 +
sudo apt install xrdp rdesktop
  
*click on Ubuntu Software Centre,
+
Create a user for Sugar:
*search for Sugar,
+
adduser sugar
*click on sugar-emulator-0.90,
+
echo sugar >> /home/sugar/.xsession
*click on Install,
 
  
Sugar will be downloaded and installed.
+
Start a session:
 +
rdesktop -g 1200x900 -u sugar -p sugar 0
  
To start Sugar, click on Dash, then search for Sugar.
+
==Ubuntu 16.04 Xenial LTS==
  
==How to install Sugar 0.90 on Ubuntu 11.04==
+
Sugar 0.106 is in the archive for Ubuntu 16.04 Xenial, and can be installed by typing
  
*click on Applications, then Ubuntu Software Centre,
+
sudo apt install sucrose
*search for Sugar,
+
<!-- last tested with Ubuntu 16.04.1 Xenial) -->
*click on Install,
 
  
Sugar will be downloaded and installed.
+
Sugar 0.110 can be installed by careful addition of the Ubuntu 17.04 Zesty packages.
  
To start Sugar, click on Applications, then Education, then Sugar.
+
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.
  
==Using Sugar 0.90 on Ubuntu==
+
==OLPC Ubuntu Sugar 16.04 Xenial LTS ==
  
A "Choose password for new keyring" dialog may appear.  This can be cancelled.
+
One Laptop per Child has been curating Sugar 0.110 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.
  
Only the Pippy and TurtleArt activities are included.
+
==OLPC Ubuntu Sugar 14.04 Trusty LTS ==
  
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.
+
One Laptop per Child was curating Sugar and Activities on the Ubuntu 14.04 Trusty operating system, but support for this version has since ended.
  
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:
+
===Installing a system===
  
sugar-install-bundle activity.xo
+
How to install Ubuntu with Sugar 0.106:
 +
* you must already be familiar with how to install Ubuntu, if not, see [http://www.ubuntu.com/download/desktop Download Ubuntu Desktop], and [http://www.ubuntu.com/download/desktop/install-ubuntu-desktop Install Ubuntu Desktop],
 +
* download [http://people.sugarlabs.org/quozl/ubuntu/trusty/sugar-0.106/olpc-ubuntu-sugar-14.04.2-desktop-amd64-1436317817.iso our installer image] (1.2 GB) [http://people.sugarlabs.org/quozl/ubuntu/trusty/sugar-0.106/olpc-ubuntu-sugar-14.04.2-desktop-amd64-1436317817.iso.md5 md5]<!-- b5584db2d995041c5c732d22320645f8 -->, [http://people.sugarlabs.org/quozl/ubuntu/trusty/sugar-0.106/olpc-ubuntu-sugar-14.04.2-desktop-amd64-1436317817.iso.packages.txt package list]
 +
* boot our image and install in the [http://www.ubuntu.com/download/desktop/install-ubuntu-desktop usual way],
 +
* log out of the Unity desktop, and then log in with the Sugar desktop selected.
  
Activities that you install in a Sugar Terminal activity are automatically made favourites and will appear in the home view.
+
===Adding to a system===
  
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.
+
Note: only available for 64-bit systems, check that ''uname -i'' shows x86_64.
  
Browse can be installed, but does not work, because the Sugar Platform is incomplete on this version of Ubuntu; it is missing hulahop.
+
How to add Sugar 0.107 to an Ubuntu 14.04 Trusty system:
 +
* edit <tt>/etc/apt/sources.list</tt> to add the OLPC archive,
 +
deb [trusted=yes arch=amd64] <nowiki>http://dev.laptop.org/pub/us</nowiki> trusty main
 +
* update the package lists, and install Sugar,
 +
sudo apt update && sudo apt install olpc-ubuntu-sugar
 +
* log out of the Unity desktop, and then log in with the Sugar desktop selected.
  
=== Full Screen ===
+
===Upgrading a system===
By default, Sugar on Ubuntu is run in a window.  To run Sugar fullscreen:
 
*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.
 
  
=== Screensaver and Power Management ===
+
How to upgrade to Sugar 0.107 on an existing Ubuntu 14.04 Trusty system with an earlier version of Sugar already installed:
If you need to turn off screensaver and power management:
+
* update the package lists, and apply all pending updates,
 +
sudo apt update && sudo apt dist-upgrade
 +
* log out, and then log in with the Sugar desktop selected.
  
xset s off
+
==See also==
xset -dpms
+
* [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 02:51, 8 May 2017

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 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.

Using Sugar inside another desktop environment

Sugar is a desktop environment. For developers who use Ubuntu Unity 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:

adduser sugar
echo sugar >> /home/sugar/.xsession

Start a session:

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

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.110 can be installed by careful addition of the Ubuntu 17.04 Zesty packages.

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.110 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.

OLPC Ubuntu Sugar 14.04 Trusty LTS

One Laptop per Child was curating Sugar and Activities on the Ubuntu 14.04 Trusty operating system, but support for this version has since ended.

Installing a system

How to install Ubuntu with Sugar 0.106:

Adding to a system

Note: only available for 64-bit systems, check that uname -i shows x86_64.

How to add Sugar 0.107 to an Ubuntu 14.04 Trusty system:

  • edit /etc/apt/sources.list to add the OLPC archive,
deb [trusted=yes arch=amd64] http://dev.laptop.org/pub/us trusty main
  • update the package lists, and install Sugar,
sudo apt update && sudo apt install olpc-ubuntu-sugar
  • log out of the Unity desktop, and then log in with the Sugar desktop selected.

Upgrading a system

How to upgrade to Sugar 0.107 on an existing Ubuntu 14.04 Trusty system with an earlier version of Sugar already installed:

  • update the package lists, and apply all pending updates,
sudo apt update && sudo apt dist-upgrade
  • log out, and then log in with the Sugar desktop selected.

See also

Previous releases

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

Subpages