Difference between revisions of "Ubuntu"

From Sugar Labs
Jump to navigation Jump to search
(move sugar 0.90 on ubuntu problems to a separate page)
(155 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 17.04 Zesty==
  
Until this is fixed, try one of these options:
+
Sugar 0.110 is in the archive for Ubuntu 17.04 Zesty, and can be installed by typing
* 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===
+
sudo apt install sucrose
  
Install packages on an Ubuntu system so that you may run Sugar.
+
* 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 -->
  
See [[Community/Distributions/Sweets#Ubuntu_and_its_derivates|How to install Sweets on Ubuntu]].
+
== Using Sugar inside another desktop environment ==
  
===How to install a virtual appliance===
+
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 a virtual appliance based on Ubuntu:
+
Install the Remote Desktop packages:
 +
sudo apt install xrdp rdesktop
  
*the [[Sugar_Creation_Kit#Ubuntu_11.04_sweets-distribution_sugar_0.94|Ubuntu 11.04 Sweets Distribution Sugar 0.94 virtual appliance]],
+
Create a user for Sugar:
*a tutorial on [[Sugar_Creation_Kit/sck/VirtualBox_Import|How to Import a virtual Appliance into VirtualBox]].
+
adduser sugar
 +
echo sugar >> /home/sugar/.xsession
  
There are other virtual appliances based on other distributions, which can be imported into virtualisation software on Ubuntu.
+
Start a session:
 +
rdesktop -g 1200x900 -u sugar -p sugar 0
  
*see [[Emulator_image_files|Emulator image files]].
+
==Ubuntu 16.04 Xenial LTS==
  
===How to install Sugar 0.90 on Ubuntu 11.10===
+
Sugar 0.106 is in the archive for Ubuntu 16.04 Xenial, and can be installed by typing
  
*click on Ubuntu Software Centre,
+
sudo apt install sucrose
*search for Sugar,
+
<!-- last tested with Ubuntu 16.04.1 Xenial) -->
*click on sugar-emulator-0.90,
 
*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 Dash, then search for 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.
  
===How to install Sugar 0.90 on Ubuntu 11.04===
+
==OLPC Ubuntu Sugar 16.04 Xenial LTS ==
  
*click on Applications, then Ubuntu Software Centre,
+
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.
*search for Sugar,
 
*click on Install,
 
  
Sugar will be downloaded and installed.
+
==OLPC Ubuntu Sugar 14.04 Trusty LTS ==
  
To start Sugar, click on Applications, then Education, then Sugar.
+
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.
  
==Using Sugar 0.90 on Ubuntu==
+
===Installing a system===
  
There are many [[/0.90|problems with Sugar 0.90 on Ubuntu]], many of which have been fixed in a later version, so we recommend the above methods instead.
+
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