Difference between revisions of "Ubuntu"

From Sugar Labs
Jump to navigation Jump to search
m
(328 intermediate revisions by 6 users not shown)
Line 1: Line 1:
[[Image:Ubuntu.jpg]]
+
<noinclude>[[Category:Supported systems]]</noinclude>
 +
[[File:Ubuntu-small.jpg]]
  
 +
:''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]
  
::It is Recommended to look at [[Community/Distributions/Trisquel|'''Trisquel''']] for another solution
+
In relation to Sugar, Ubuntu is a downstream distribution project that can be used to run Sugar.
:: Trisquel is '''Ubuntu based''' and works well. (Trisquel 4 and 4.1 is based on Ubuntu 10.04 LTS, Trisquel 4.5, on Ubuntu 10.10.)
 
:: Trisquel 4.5.1-sugar: [[Trisquel On A Sugar Toast#trisquel-sugar_4.5.1_i686]]
 
  
===Sugar-desktop 0.88 on Ubuntu 10.04 and 10.10===
+
==Ubuntu 17.04 Zesty==
  
=== Sweets Distribution ===
+
Sugar 0.110 is in the archive for Ubuntu 17.04 Zesty, and can be installed by typing
:'''NEW''' 02/03/2011 alsroot and satellit
 
  
This is [[Dextrose]] 2, thus more than just Sugar 0.88, it contains several features that still are not committed to the trunk + bug fixes from 0.90+.
+
sudo apt install sucrose
  
* Install sweets sugar 0.88.1 in Ubuntu-10.04/Trisquel-4.1 and Ubuntu-10.10/Trisquel-4.5
+
* log out,
:sugar-devel@lists.sugarlabs.org  07/03/2011
+
* log in with the Sugar desktop selected.
Alexy:
+
<!-- last tested with Ubuntu 17.04 Zesty daily live image dated 2017-03-21 plus updates on 30th March 2017 -->
::(Edited by satellit while installing on Ubuntu 10.10 HD install)
 
Hi all,
 
If someone is using sweet packages for Ubuntu 10.04/10.10 and Trisquel
 
4.1/4.5 (thanks satellit for creating instructions of wiki),
 
its download location was changed from http://bazaar-download.sugarlabs.org/ to the links shown below:
 
=====Installation=====
 
* Terminal:
 
:sudo su
 
*Repository uses new gpg key, to import it:
 
    gpg --keyserver keys.sugarlabs.org --recv 3182B17D
 
    gpg --armor --export 3182B17D | sudo apt-key add -
 
::Look for '''OK''
 
*Start Synaptic Package Manager
 
: Settings/Repositories/Other Software/Add..
 
*For Ubuntu-10.04/Trisquel-4.1:
 
    deb http://download.sugarlabs.org/packages/SweetsDistribution:/0.88/Ubuntu-10.04/ ./
 
    deb-src http://download.sugarlabs.org/packages/SweetsDistribution:/0.88/Ubuntu-10.04/ ./
 
*For Ubuntu-10.10/Trisquel-4.5:
 
    deb http://download.sugarlabs.org/packages/SweetsDistribution:/0.88/Ubuntu-10.10/ ./
 
    deb-src http://download.sugarlabs.org/packages/SweetsDistribution:/0.88/Ubuntu-10.10/ ./
 
*Synaptic Package Manager/
 
:Reload
 
:Quick Search (sweets)
 
: check sweets-distribution/apply
 
:exit
 
*Applications/Education/Sugar
 
:right click: Add this launcher to the desktop
 
:Open (right click)/Properties/Command: sweets-sugar-emulator '''-f'''
 
::add -f  to command (full screen)
 
:Close
 
*Click on Sugar Icon
 
:My Settings
 
:About my Computer:
 
::Ubuntu 10.10
 
::0.88.1
 
* Frame/slide bottom slider full left
 
:restart
 
*Sugar Desktop starts
 
*'''Tested on install 04/05/2011 satellit
 
  
=== Ubuntu 10.10 for PowerPC ===
+
== Using Sugar inside another desktop environment ==
* See [[/PPC]].
 
{{Admon/note| The following sections are depreciated and kept for archive purposes}}
 
  
==UbuntuSugarRemix==
+
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.
'''As of December 2009, We started a total refactoring of how Sugar is packaged in Ubuntu.'''
 
; The USR project does not seem to be active anymore  (satellit 07/04/2011)
 
*work located here: http://download.sugarlabs.org/usr/
 
  
'''Please See the Ubuntu Sugar Remix https://wiki.ubuntu.com/Sugar for the latest information.'''
+
Install the Remote Desktop packages:
 +
sudo apt install xrdp rdesktop
  
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.
+
Create a user for Sugar:
 +
adduser sugar
 +
echo sugar >> /home/sugar/.xsession
  
For some people the emulator mode has a serious bug where modifier keys get stuck. A work around is to disable keyboard repeat.
+
Start a session:
 +
  rdesktop -g 1200x900 -u sugar -p sugar 0
  
:::from https://wiki.ubuntu.com/Sugar web page :
+
==Ubuntu 16.04 Xenial LTS==
  
==Maple syrup Ubuntu 10.04 LTS with Sugar==
+
Sugar 0.106 is in the archive for Ubuntu 16.04 Xenial, and can be installed by typing
:'''and many other applications for netbooks'''
 
  
:Ubuntu 10.04 LTS with Sugar and many other applications for netbooks
+
sudo apt install sucrose
::Mentioned in  August 23, 2010 http://planet.sugarlabs.org/
+
<!-- last tested with Ubuntu 16.04.1 Xenial) -->
  
===passwords===
+
Sugar 0.110 can be installed by careful addition of the Ubuntu 17.04 Zesty packages.
*http://itd-usr.blogspot.com/2010/08/hi-guys-im-happy-to-announce-release-of.htmlHi > Sameer,
 
There are three users - the password for each account is the username.
 
"student" - most restricted account, no install permissions, no > non-removable disk mounting
 
"teacher" - no install permissions, access to student files
 
"netbook" - admin account, with superuser privileges
 
 
===install=== 
 
:DVD Image: http://people.sugarlabs.org/~it/OLD/maple_syrup-O121_v02_v03.iso
 
::[http://open1to1.msln.net/MapleSugar/ Older Version]
 
:Burned .iso to DVD
 
:*Booted DVD
 
* Used Ubuntu USB Startup Disk Creator to install .iso to 8 GB USB device
 
*:logged in as
 
*::User:netbook
 
*::pswd netbook
 
*::system/Main Menu
 
*:Insert USB
 
*:Disk Utility
 
*::format disk fat32
 
*:Startup Disk Creator
 
*:/dev/sro/ Maple-Syrup
 
*: /dev/sda1 7.4 Gb  (8Gb hp125 USB)
 
*::Stored in extra space: 4.0GB (Max allowed)
 
*::<Make Startup Disk>
 
====Reboot from USB====
 
:Main Menu
 
::properties for sugar changed command to be: "sugar-emulator -f"
 
::started education/sugar
 
::did drag-drop to journal from 2nd usb : http://people.sugarlabs.org/Tgillard/Surf-115.xo
 
::started surf-115 from journal
 
::went to activities (ASLO)
 
::downloaded terminal-31.xo; IRC-5.xo
 
:log off sugar
 
:reboot Maple-Syrup so activities would be in f3 ring.
 
:Logout is O' on top right bar
 
::HINT <alt><F5> to get terminal
 
Login
 
sudo su
 
shutdown -h now
 
  
====Update====
+
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.
:In terminal
 
sudo apt-get install openjdk-6-jdk  (22 files)
 
sudo apt-get update
 
sudo apt-get upgrade (213 files)
 
  
===Added ppa===
+
==OLPC Ubuntu Sugar 16.04 Xenial LTS ==
sudo add-apt-repository ppa:sugarteam/ppa
 
sudo apt-get update
 
sudo apt-get install ubuntu-sugar-remix
 
  
:rebooted maple_syrup
+
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.
  
== Sugar-0.88 on Ubuntu 9.10 (karmic) ==
+
==OLPC Ubuntu Sugar 14.04 Trusty LTS ==
  
'''NOTE''' If 0.86 ppa was used before, you'll have to clean it up (unfortunately 0.86 ppa uses epoch versions and couldn't be used with 0.88 one):
+
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.
  
sudo apt-get remove `dpkg-query -W -f '${package} ${maintainer}\n' | grep alsroot | awk '{print $1}'`
+
===Installing a system===
sudo sed -i '/alsroot.sugar-0.86/d' /etc/apt/sources.list
 
  
To install:
+
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.
  
sudo add-apt-repository ppa:alsroot/trisquel-edu-3.5
+
===Adding to a system===
sudo apt-get update
 
sudo apt-get install sugar-platform
 
  
== Sugar-0.86 on Ubuntu 9.10 (karmic) ==
+
Note: only available for 64-bit systems, check that ''uname -i'' shows x86_64.
  
To install:
+
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.
  
sudo add-apt-repository ppa:alsroot/sugar-0.86
+
===Upgrading a system===
sudo apt-get update
 
sudo apt-get install sugar-platform
 
  
== Sugar-0.86 on Ubuntu 9.04 (jaunty) ==
+
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.
  
Before attaching ppa, load gpg key
+
==See also==
gpg --keyserver keyserver.ubuntu.com --recv F265806A9BFFF0F4
+
* [https://wiki.debian.org/Derivatives/Census/OLPC Debian Derivatives Census - OLPC]
gpg --export --armor F265806A9BFFF0F4 | sudo apt-key add -
 
  
Then attach PPA and install entirely Sugar Platform:
+
==Previous releases==
sudo sh -c 'echo deb http://ppa.launchpad.net/alsroot/trisquel-edu-3/ubuntu jaunty main >> /etc/apt/sources.list'
+
See [[Ubuntu/Previous]] for how to install older versions of Sugar on older releases of Ubuntu.
sudo apt-get update
 
sudo apt-get install sugar-platform
 
  
<!--
+
==Subpages==
Jaunty, the current Ubuntu release, has Sucrose 0.83 packages synced from [[Community/Distributions/Debian|Debian]].
+
{{Special:PrefixIndex/{{PAGENAME}}/}}
 
 
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.
 
 
 
:That work around doesn't work.--[[User:Dennis Daniels|Dennis Daniels]] 00:38, 7 August 2009 (UTC)
 
 
 
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)
 
 
 
*works for me on 9.04 using ppa [http://wiki.sugarlabs.org/go/Community/Distributions/Ubuntu#Using_sugar_PPAs] Oct 31 2009
 
=== Installing ===
 
 
 
Installation instructions:
 
sudo apt-get install sugar sugar-activities
 
-->
 
 
 
== Sugar-0.84 on Ubuntu 8.04 (hardy) ==
 
 
 
Before attaching ppa, load gpg key
 
gpg --keyserver keyserver.ubuntu.com --recv F265806A9BFFF0F4
 
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][https://wiki.ubuntu.com/UbuntuSugarRemix], 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