Difference between revisions of "Ubuntu"

From Sugar Labs
Jump to navigation Jump to search
(185 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,
 
* use a virtual appliance,
 
* use the unstable version 0.90 of Sugar, using 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 a Sugar virtual appliance ==
+
==Ubuntu 17.04 Zesty==
  
This is explained in a section of the Sugar Creation Kit page:
+
Sugar 0.110 is in the archive for Ubuntu 17.04 Zesty, and can be installed by typing
  
*http://wiki.sugarlabs.org/go/Sugar_Creation_Kit#Ubuntu_11.04_sweets-distribution_sugar_0.94
+
sudo apt install sucrose
  
==How to install Sugar Desktop 0.90 on Ubuntu or Edubuntu 11.10==
+
* 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,
+
== Using Sugar inside another desktop environment ==
*search for Sugar,
 
*click on Install,
 
  
Sugar will be downloaded and installed.
+
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.
  
To start Sugar, click on Applications, then Education, then Sugar.
+
Install the Remote Desktop packages:
 +
sudo apt install xrdp rdesktop
  
A "Choose password for new keyring" dialog may appear. This can be cancelled.
+
Create a user for Sugar:
 +
adduser sugar
 +
  echo sugar >> /home/sugar/.xsession
  
Only the Pippy and TurtleArt activities are included.
+
Start a session:
 +
rdesktop -g 1200x900 -u sugar -p sugar 0
  
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.
+
==Ubuntu 16.04 Xenial LTS==
  
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 0.106 is in the archive for Ubuntu 16.04 Xenial, and can be installed by typing
  
  sugar-install-bundle activity.xo
+
  sudo apt install sucrose
 +
<!-- last tested with Ubuntu 16.04.1 Xenial) -->
  
Activities that you install in a Sugar Terminal activity are automatically made favourites and will appear in the home view.
+
Sugar 0.110 can be installed by careful addition of the Ubuntu 17.04 Zesty packages.
  
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.
+
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.
  
Browse can be installed, but does not work, because the Sugar Platform is incomplete on this version of Ubuntu; it is missing hulahop.
+
==OLPC Ubuntu Sugar 16.04 Xenial LTS ==
  
=== Full Screen ===
+
One Laptop per Child has been curating Sugar 0.110 and Activities on the Ubuntu 16.04 Xenial operating systemThis build has entered production, and can be acquired through private negotiation or by ordering laptops from OLPC.
By default, Sugar on Ubuntu is run in a windowTo 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 ===
+
==OLPC Ubuntu Sugar 14.04 Trusty LTS ==
If you need to turn off screensaver and power management:
 
  
  xset s off
+
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.
  xset -dpms
+
 
 +
===Installing a system===
 +
 
 +
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.
 +
 
 +
===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 <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.
 +
 
 +
===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==
 +
* [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