Difference between revisions of "Ubuntu"

From Sugar Labs
Jump to navigation Jump to search
(94 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<noinclude>[[Category:Supported systems]]</noinclude>
 
<noinclude>[[Category:Supported systems]]</noinclude>
<span class="linkgroup weblink">[[File:Ubuntu-small.jpg|link=http://www.ubuntu.com/]]</span>
+
[[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]
There are now 2 versions to use:
 
==Ubuntu 12.04.2 LTS - Dextrose Sugar Live==
 
:NEW 07/19/2013
 
*'''Sugar 0.98.7'''
 
*Note KDE has to be installed after sugar is installed to get to this view.
 
:Initial HD or VirtualBox install runs Full Screen Sugar.
 
[[File:Sugar_dextrose.png|300px]][[File:Dextrose-background-reg.png|300px]]
 
*Boot Screen             
 
*Background set - Register selected
 
[[File:Dextrose-4.png|300px]] [[File:Dextrose-3.png|300px]]
 
*Dextrose  running in KDE Ubuntu 12.04.2
 
  
===Download===
+
In relation to Sugar, Ubuntu is a downstream distribution project that can be used to run Sugar.
*''' http://people.sugarlabs.org/Tgillard/ubuntu_12.04-20130712_i686.iso '''
 
===Install to Hard Disk===
 
#Ubuntu Startup-disk-creator will create a USB installer
 
#Boot from Live DVD
 
* "Username is "ubuntu", with empty password."
 
:Either method will run as a live CD or Install to Hard Disk
 
::Note: Choose lightdm as desktop manager
 
  
===Install KDE===
+
==Ubuntu 18.04 Bionic==
*Sugar terminal:
 
sudo su
 
password
 
apt-get install synaptic
 
synaptic
 
*Choose KDE Desktop
 
:Apply
 
*To switch desktops log out/log in and select desired Desktop Environment (Sugar or KDE)
 
  
 +
Sugar 0.110 or 0.112 will be in Ubuntu 18.04 Bionic.
  
From Lists: support-gang@laptop.org 07/15/2013
+
==Ubuntu 17.10 Artful==
 
I just wanted to give everyone a heads about something coming down the pipe:)
 
On of the primary frustrations that I have been hearing from the
 
community is their inability to easily get hardware for their
 
deployments.
 
In response, we have released of an iso running Sugar on Ubuntu at
 
http://ubuntu.activitycentral.com/makeiso/iso/ubuntu_12.04-20130712_i686.iso
 
* Username is "ubuntu", with empty password.
 
As alway, AC's code is 100% free and open source.
 
 
===What's new===
 
* Tuned up python-dbus clears the last bug that made most activities
 
fail to start.
 
* Logs in into Sugar automatically.
 
* Most activities work (some will need some work, but it should not be
 
caused by problems in Sugar dependencies anymore, but things specific
 
to the activity). To be precise they start,  didn't test them in deeply
 
  Didn't test collaboration yet.
 
* General polish to make it look closer to a final product.
 
===What fails===
 
* Some quirks with the tamtam activities as usual, probably already
 
fixed in newer bundles.
 
* Write does not work as the gtk3 version of pyabiword or the gtk2
 
version of libabiword are not available in Ubuntu, so both gtk2 and
 
gtk3 versions of the activity are missing half of the dependencies.
 
* Etoys and Scratch fail, probably because squeak-vm is not the proper
 
version, so I'll be packaging that later as well.
 
* The keyboard and network sections of the CP fail, the code makes
 
some assumptions about being run in a xo or under fedora, resulting in
 
unhandled exceptions.
 
* Sometimes activities may fail to start if you open them right after
 
logging in, because something with dbus is not yet fully running.
 
 
David Farning
 
Activity Central: http://www.activitycentral.com
 
--
 
From IRC 07/19/2013:
 
"We are interested in creating a community around the project which AC supports but does not control...."
 
"We are trying to create a community like XSCE to support sugar on ubuntu."
 
:Discussions on #schoolserver / freenode IRC
 
  
==Sweets Distribution==
+
Sugar 0.110 is in the archive for Ubuntu 17.10 Artful, and can be installed by typing
*'''Sugar 0.94'''
 
  
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.
+
sudo apt install sucrose gir1.2-webkit-3.0
  
Until this is fixed, try one of these options:
+
* log out,
* use [[Sweets_Distribution|Sweets]] on Ubuntu, see [[#How_to_install_Sweets_on_Ubuntu|below]],
+
* log in with the Sugar desktop selected.
* 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"
+
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].
! your ubuntu release
 
! your best options for trying Sugar
 
|-
 
| Ubuntu 12.10
 
| [[#How_to_install_Sweets_on_Ubuntu|use Sweets Distribution]] or [[#How_to_install_a_virtual_appliance|use a virtual appliance]]
 
|-
 
| Ubuntu 12.04 LTS
 
| [[#How_to_install_Sweets_on_Ubuntu|use Sweets Distribution]] or [[#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===
+
==Ubuntu 17.04 Zesty==
  
Install packages on an Ubuntu system so that you may run Sugar.
+
Sugar 0.110 is in the archive for Ubuntu 17.04 Zesty, and can be installed by typing
  
See [[Sweets Distribution#Installation|How to install Sweets Distribution]].
+
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 -->
  
Install a virtual appliance based on Ubuntu:
+
== Using Sugar inside another desktop environment ==
  
*the [[Sugar_Creation_Kit/sck/Sugar-in-Virtualization#Ubuntu_11.04_Sweets_Distribution_sugar_0.94|Ubuntu 11.04 Sweets Distribution Sugar 0.94 virtual appliance]],
+
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.
*a tutorial on [[Tutorials/Installation/Import a VirtualBox appliance|How to import a virtual appliance into VirtualBox]].
 
  
There are other virtual appliances based on other distributions, which can be imported into virtualization software on Ubuntu.
+
Install the Remote Desktop packages:
 +
sudo apt install xrdp rdesktop
  
*see [[Sugar_Creation_Kit/sck/Sugar-in-Virtualization|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 ==
+
Start a session:
*'''NOT Recommended'''
+
rdesktop -g 1200x900 -u sugar -p sugar 0
  
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.
+
==Ubuntu 16.04 Xenial LTS==
  
In particular, there is no compatible web browser included, though there is a [[/0.90#Problem:_Browse_activity_does_not_work|workaround]].  
+
Sugar 0.106 is in the archive for Ubuntu 16.04 Xenial, and can be installed by typing
  
However, if you wish to to install Sugar on Ubuntu:
+
sudo apt install sucrose
 +
<!-- last tested with Ubuntu 16.04.1 Xenial) -->
  
*click on Ubuntu Software Center,
+
Sugar 0.110 can be installed by careful addition of the Ubuntu 17.04 Zesty packages.
*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.
+
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.
  
To start Sugar, click on Applications, then Education, then Sugar.
+
==OLPC Ubuntu Sugar 16.04 Xenial LTS ==
  
See [[Emulator/Full Screen|how to create a desktop icon that runs Sugar full screen]].
+
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.
  
See [[Ubuntu/Previous]] for how to install older versions of Sugar on older versions of Ubuntu using Ubuntu Software Center.
+
==OLPC Ubuntu Sugar 14.04 Trusty LTS ==
  
===sweets-sugar 0.94 works in Ubuntu 12.10 (unity and [http://community.linuxmint.com/tutorial/view/1246 '''cinnamon'''])===
+
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.
[[File:Sweets-sugar_in_12.10.png|300px]][[File:Sweets-sugar-cinnamon-12.10.png|400px]]
+
 
 +
===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 01:18, 25 October 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 18.04 Bionic

Sugar 0.110 or 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.

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