Difference between revisions of "Ubuntu"

From Sugar Labs
Jump to navigation Jump to search
(199 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 the unstable version 0.90 of Sugar, using the Ubuntu repositories,
 
* use [[Community/Distributions/Sweets_Distribution|Sweets]] on Ubuntu,
 
* switch to the [[Community/Distributions/Trisquel|Trisquel distribution]],
 
* switch to [[Community/Distributions|some other distribution]],
 
* use a virtual appliance, or;
 
* install from Sugar source.
 
  
==Introduction==
+
==Ubuntu 17.04 Zesty==
We provide two kinds of information in this page.
 
#Existing Ubuntu-based Sugar Spins. A Sugar Spin is a Linux distribution which uses Sugar as its default desktop environment.
 
#How to install Sugar for your Ubuntu desktop. It is dependent on your Ubuntu's release version and the Sugar version you are going to install.
 
  
==Ubuntu-based Sugar Spins==
+
Sugar 0.110 is in the archive for Ubuntu 17.04 Zesty, and can be installed by typing
  
====Ubuntu Sugar Remix====
+
sudo apt install sucrose
:Ubuntu has not updated their repositories for sugar since version 0.90 when the [https://wiki.ubuntu.com/Sugar '''Ubuntu Sugar Remix Team'''] stopped work.
 
:http://people.sugarlabs.org/dfarning/
 
:*Archive of discontinued project to add Sugar to Ubuntu
 
:*'''These do not work very well.''' Not Recommended
 
  
==[[Image:Ubuntu-small.jpg]]Sugar Desktop 0.94 on Ubuntu 11.04==
+
* log out,
*Look at [[Community/Distributions/Sweets_Distribution| '''sweets-distribution''']] for sugar 0.88 in Ubuntu 10.04 1nd 10.10
+
* log in with the Sugar desktop selected.
:Click this link ^
+
<!-- last tested with Ubuntu 17.04 Zesty daily live image dated 2017-03-21 plus updates on 30th March 2017 -->
:Sweets Distribution is easier to use for Ubuntu' and its Derivatives (Adding an additional Repository via apt commands) as the packages are pre-configured, ready to use.)
 
::('''Advanced installation skills required.''')
 
:Has Dextrose features
 
===Installation Suggestions===
 
:Install Ubuntu 11.04
 
::    Download link: http://releases.ubuntu.com/natty/
 
:Log in to''' "Gnome-classic" '''(select it from the drop-down menu on the bottom bar of the login screen.)
 
:'''copy-paste''' these commands to '''Ubuntu terminal''' one line at a time:
 
sudo apt-add-repository 'deb http://download.sugarlabs.org/packages/SweetsDistribution:/0.94/Ubuntu-11.04/ ./'
 
wget -qO- http://download.sugarlabs.org/packages/SweetsDistribution:/0.94/Ubuntu-11.04/Release.key | sudo apt-key add -
 
sudo apt-get update
 
sudo apt-get install sweets-distribution
 
*The main menu will now have '''Education/Sugar'''
 
*'''Congratulations you have now installed sugar 0.94'''
 
====To get sugar to run full screen====
 
*Menu:
 
:Applications/Education/Sugar
 
:Right click on sugar XO
 
::"Add this launcher to the desktop" - chose this option
 
*right click on the XO that is now on the desktop
 
:"Properties"
 
::Command:  sweets-sugar-emulator '''-f'''  -  Add the '''-f''' for full screen (Close)
 
*Now when you click the XO sugar will start full screen and not in a window.
 
====VirtualBox Appliance to import====
 
*http://wiki.sugarlabs.org/go/Sugar_Creation_Kit#Ubuntu_11.04_sweets-distribution_sugar_0.94
 
:This is exactly the same as achieved with the Installation Suggestions above
 
  
==[[Image:Ubuntu-small.jpg]]Sugar Desktop 0.90 on Ubuntu 11.10==
+
== Using Sugar inside another desktop environment ==
NOTE: ''This version uses previous Sugar release. Collaboration is broken''
 
*Sugar 0.90 is NOT RECOMMENDED.
 
*Install sucrose-0.90
 
  
  sudo apt-get install sucrose-0.90
+
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.
  
Only comes with pippy and turtleart. 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:
+
Install the Remote Desktop packages:
 +
sudo apt install xrdp rdesktop
  
  sugar-install-bundle activity.xo
+
Create a user for Sugar:
 +
  adduser sugar
 +
echo sugar >> /home/sugar/.xsession
  
To run Sugar fullscreen:
+
Start a session:
*Go to the menu Applications->Education->sugar
+
rdesktop -g 1200x900 -u sugar -p sugar 0
*Drag and drop the Sugar icon to the desktop
 
*Right-click on Sugar icon and choose Properties
 
*Change the command to:
 
 
 
  sugar-emulator -f
 
  
If you need to turn off screensaver and power management:
+
==Ubuntu 16.04 Xenial LTS==
  
xset s off
+
Sugar 0.106 is in the archive for Ubuntu 16.04 Xenial, and can be installed by typing
xset -dpms
 
  
==[[File:200px-Edubuntu.png]]Sugar Desktop 0.90 on edubuntu 11.10==
+
sudo apt install sucrose
Sugar 0.90 is NOT RECOMMENDED
+
<!-- last tested with Ubuntu 16.04.1 Xenial) -->
  
''Note: classic gnome fallback is available on install''
+
Sugar 0.110 can be installed by careful addition of the Ubuntu 17.04 Zesty packages.
  
*Install sucrose-0.90
+
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.
  
sudo apt-get install sucrose-0.90
+
==OLPC Ubuntu Sugar 16.04 Xenial LTS ==
  
Only comes with pippy and turtleart. To get more activities you can:
+
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.
  
Download [[http://people.sugarlabs.org/Tgillard/Surf-115.xo| the Surf activity ]] and put it in a USB key. Within Sugar, copy the bundle to the Journal to install it. Start Surf and point it to [[http://activities.sugarlabs.org/| activites.sugarlabs.org ]] to get other activities.
+
==OLPC Ubuntu Sugar 14.04 Trusty LTS ==
  
Or you can download from [[http://activities.sugarlabs.org/| activites.sugarlabs.org ]] from outside Sugar and install each .xo bundle individually in a terminal with:
+
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.
  
sugar-install-bundle activity.xo
+
===Installing a system===
  
To run Sugar fullscreen:
+
How to install Ubuntu with Sugar 0.106:
*menu Applications->Education->sugar
+
* 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],
*drag and drop Sugar icon to 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]
*right-click on Sugar icon->Properties
+
* boot our image and install in the [http://www.ubuntu.com/download/desktop/install-ubuntu-desktop usual way],
*change command to:
+
* log out of the Unity desktop, and then log in with the Sugar desktop selected.
 
+
 
  sugar-emulator -f
+
===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