Difference between revisions of "Ubuntu"

From Sugar Labs
Jump to navigation Jump to search
(cleanup ppa info)
(406 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{TOCright}}
+
<noinclude>[[Category:Supported systems]]</noinclude>
[[Image:Ubuntu.jpg]]
+
[[File:Ubuntu-small.jpg]]
  
= Sugar on Ubuntu =
+
:''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 December 2009, We started a total refactoring of how Sugar is packaged in Ubuntu.'''
+
In relation to Sugar, Ubuntu is a downstream distribution project that can be used to run Sugar.
  
'''Please See the Ubuntu Sugarteam wiki at https://wiki.ubuntu.com/SugarTeam for the latest information.'''
+
==Ubuntu 17.04 Zesty==
  
The Sugar packages for Ubuntu provide a Sugar environment that is easy to install and can be configured as an X session in gdm or run in a window with sugar-emulator.
+
Sugar 0.110 is in the archive for Ubuntu 17.04 Zesty, and can be installed by typing
  
== Sugar on Ubuntu 10.04 (lucid) ==
+
sudo apt install sucrose
  
Lucid has Sugar 0.88, 0.86, and 0.84 packages synced from [[Community/Distributions/Debian|Debian]].
+
* 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 -->
  
The current preferred method of running Sugar on Ubuntu is via Ubuntu Sugar Remix which can be downloaded at http://people.sugarlabs.org/dfarning
+
== Using Sugar inside another desktop environment ==
  
Packages can also be install via sudo
+
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.
sudo apt-get install sugar-0.88
 
  
=== Reporting Bugs ===
+
Install the Remote Desktop packages:
 +
sudo apt install xrdp rdesktop
  
Please see https://wiki.ubuntu.com/SugarTeam/Report for information on reporting bugs.
+
Create a user for Sugar:
 +
adduser sugar
 +
echo sugar >> /home/sugar/.xsession
  
'''This is likely to be reimplemented as Lucid hits Feature Freeze'''
+
Start a session:
The Ubuntu Sugar team will do their best to provide fixes for bugs, but it does take time to get an updated package uploaded through Ubuntu's [https://wiki.ubuntu.com/StableReleaseUpdates Stable Release Updates] process. Where possible we'll suggest a workaround, or provide a fix in the [https://launchpad.net/~sugarteam/+archive Sugar Team PPA] first.
+
rdesktop -g 1200x900 -u sugar -p sugar 0
  
== Sugar on Ubuntu 9.10 (karmic) ==
+
==Ubuntu 16.04 Xenial LTS==
  
Before attaching ppa, load gpg key
+
Sugar 0.106 is in the archive for Ubuntu 16.04 Xenial, and can be installed by typing
gpg --keyserver keyserver.ubuntu.com --recv F265806A9BFFF0F4
 
gpg --export --armor F265806A9BFFF0F4 | sudo apt-key add -
 
  
Then attach PPA and install entirely Sugar Platform:
+
sudo apt install sucrose
sudo sh -c 'echo deb http://ppa.launchpad.net/alsroot/sugar-0.86/ubuntu karmic main >> /etc/apt/sources.list'
+
<!-- last tested with Ubuntu 16.04.1 Xenial) -->
sudo apt-get update
 
sudo apt-get install sugar-platform
 
  
===Note from lists===
+
Sugar 0.110 can be installed by careful addition of the Ubuntu 17.04 Zesty packages.
  
Message: 2 ****( this did not work) satellit 01/04/2010
+
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.
Date: Mon, 23 Nov 2009 15:02:19 -0500
 
From: Kevin Cole <dc.xxxxxx.com>
 
Subject: Re: [IAEP] 'apt-get install sugar-platform' available for
 
Ubuntu9.10.
 
Ubuntu (Karmic) now provides a nicer way to add repositories. Type the
 
following at a shell prompt:
 
  
sudo add-apt-repository ppa:sugarteam/0.86
+
==OLPC Ubuntu Sugar 16.04 Xenial LTS ==
  
Using the command above results in both importing the GPG key for a
+
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.
PPA and creates a file in /etc/apt/sources.list.d/ named
 
"sugarteam-0.86-karmic.list" with all the proper magic in itThe
 
output of the command looks like this (line-wrapped for readability):
 
  
$ add-apt-repository ppa:sugarteam/0.86
+
==OLPC Ubuntu Sugar 14.04 Trusty LTS ==
Executing: gpg --ignore-time-conflict \
 
                      --no-options \
 
                      --no-default-keyring \
 
                      --secret-keyring /etc/apt/secring.gpg \
 
                      --trustdb-name /etc/apt/trustdb.gpg \
 
                      --keyring /etc/apt/trusted.gpg \
 
                      --keyserver keyserver.ubuntu.com \
 
                      --recv 74F3C222CB79383175656A6986ABE8AE363C5DAC
 
gpg: requesting key 363C5DAC from hkp server keyserver.ubuntu.com
 
gpg: key 363C5DAC: public key "Launchpad PPA for Sugar Team" imported
 
gpg: Total number processed: 1
 
gpg:              imported: 1  (RSA: 1)
 
  
== Sugar on Ubuntu 9.04 (jaunty) ==
+
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.
  
Before attaching ppa, load gpg key
+
===Installing a system===
gpg --keyserver keyserver.ubuntu.com --recv F265806A9BFFF0F4
 
gpg --export --armor F265806A9BFFF0F4 | sudo apt-key add -
 
  
Then attach PPA and install entirely Sugar Platform:
+
How to install Ubuntu with Sugar 0.106:
sudo sh -c 'echo deb http://ppa.launchpad.net/alsroot/trisquel-edu-3/ubuntu jaunty main >> /etc/apt/sources.list'
+
* 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],
sudo apt-get update
+
* 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]
sudo apt-get install sugar-platform
+
* 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===
Jaunty, the current Ubuntu release, has Sucrose 0.83 packages synced from [[Community/Distributions/Debian|Debian]].
 
  
Sugar does not work out-of-the-box under Jaunty as of 2009-07-01, although there is a workaround. See the [[Talk:Community/Distributions/Ubuntu|discussion here]] for more information.
+
Note: only available for 64-bit systems, check that ''uname -i'' shows x86_64.
  
:That work around doesn't work.--[[User:Dennis Daniels|Dennis Daniels]] 00:38, 7 August 2009 (UTC)
+
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.
  
0.84 Works for me from  https://launchpad.net/~alsroot/+archive/ppa package name is sugar-platform --[[User:Satyaakam]] 22:00,12 August 2009 (IST)
+
===Upgrading a system===
  
*works for me on 9.04 using ppa [http://wiki.sugarlabs.org/go/Community/Distributions/Ubuntu#Using_sugar_PPAs] Oct 31 2009
+
How to upgrade to Sugar 0.107 on an existing Ubuntu 14.04 Trusty system with an earlier version of Sugar already installed:
=== Installing ===
+
* 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.
  
Installation instructions:
+
==See also==
sudo apt-get install sugar sugar-activities
+
* [https://wiki.debian.org/Derivatives/Census/OLPC Debian Derivatives Census - OLPC]
-->
 
  
== Sugar on Ubuntu 8.04 (hardy) ==
+
==Previous releases==
 +
See [[Ubuntu/Previous]] for how to install older versions of Sugar on older releases of Ubuntu.
  
Before attaching ppa, load gpg key
+
==Subpages==
gpg --keyserver keyserver.ubuntu.com --recv F265806A9BFFF0F4
+
{{Special:PrefixIndex/{{PAGENAME}}/}}
gpg --export --armor F265806A9BFFF0F4 | sudo apt-key add -
 
 
 
Then attach PPA and install entirely Sugar Platform:
 
sudo sh -c 'echo deb http://ppa.launchpad.net/alsroot/trisquel-edu/ubuntu hardy main >> /etc/apt/sources.list'
 
sudo apt-get update
 
sudo apt-get install sugar-platform
 
 
 
= ejabberd collaboration server on Ubuntu =
 
 
 
We use ejabberd for a collaboration server. Ubuntu 8.10 ships with the required patches included in ejabberd, so you can install ejabberd, configure it and have working collaboration within minutes, using these installation instructions: http://wiki.laptop.org/go/Installing_ejabberd/deb
 
 
 
For Ubuntu 8.04 you need to build from source: http://wiki.laptop.org/go/Installing_ejabberd
 
 
 
= Sugar Team =
 
 
 
Sugar on Ubuntu is packaged and maintained by the [https://wiki.ubuntu.com/SugarTeam Ubuntu Sugar team], who welcome new contributors to test, document, triage, and make packages.
 
 
 
[https://bugs.launchpad.net/ubuntu/+source/sugar-0.88 Sugar bug reporting Ubuntu].
 
 
 
[[Category:Supported systems]]
 

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