Difference between revisions of "Ubuntu"

From Sugar Labs
Jump to navigation Jump to search
(move sweets distribution section from main page to subpage, now inactive and out of date)
(32 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
In relation to Sugar, Ubuntu is a downstream distribution project that can be used to run Sugar.
 
In relation to Sugar, Ubuntu is a downstream distribution project that can be used to run Sugar.
  
==OLPC Ubuntu Sugar 14.04.2 Trusty LTS ==
+
==Ubuntu 18.04 Bionic==
  
How to use Sugar 0.104.1 and Activities from One Laptop per Child, on the Ubuntu operating system.
+
Sugar 0.110 or 0.112 will be in Ubuntu 18.04 Bionic.
  
===Adding to an existing system===
+
==Ubuntu 17.10 Artful==
  
* change <tt>/etc/apt/sources.list</tt> to add the OLPC archive,
+
Sugar 0.110 is in the archive for Ubuntu 17.10 Artful, and can be installed by typing
deb [trusted=yes] <nowiki>http://dev.laptop.org/pub/us</nowiki> trusty main
+
 
* update the package lists,
+
  sudo apt install sucrose gir1.2-webkit-3.0
sudo apt update
+
 
* install Sugar,
+
* log out,
  sudo apt install olpc-activities olpc-powerd- git- fakeroot- consolekit-
+
* log in with the Sugar desktop selected.
* log out of the Unity desktop, and then log in with the Sugar desktop selected.
+
 
 +
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].
 +
 
 +
==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
  
===Installing a new system===
+
* 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 -->
  
* download [http://dev.laptop.org/~quozl/olpc-ubuntu-sugar-14.04.2-desktop-amd64-1432093697.iso our installer image] (1.2 GB)<!-- b5584db2d995041c5c732d22320645f8 -->
+
== Using Sugar inside another desktop environment ==
* install in the usual way,
 
* log out of the Unity desktop, and then log in with the Sugar desktop selected.
 
  
==Ubuntu 12.04.2 LTS - Dextrose Sugar Live==
+
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.
* '''DXU-Dextrose on Ubuntu'''
 
:revised Sept 5,2013
 
:Sugar 0.98.8
 
:Ubuntu 12.04.02
 
#Journal Backup/Restore
 
#Operations on multiple journal entries
 
#Accessability support with integrated control panel
 
*Announcement:
 
:https://docs.google.com/document/d/1qtW08brJSXpfAAY-67QUb8s3gtWca9yIa9XmhYsLHbA/edit?pli=1
 
  
:Initial HD or VirtualBox install runs Full Screen Sugar.
+
Install the Remote Desktop packages:
:NOTE click on the screenshot to enlarge it; click on browser  '''<= back''' to return.
+
  sudo apt install xrdp rdesktop
====Screenshots ====
 
[[File:Sugar_dextrose.png|300px]][[File:Dextrose-background-reg.png|300px]][[File:Error-copying-to-Documents.png|300px]]
 
#Boot Screen             
 
#Background set - Register selected
 
#Error copying to Documents from journal
 
::For info on XSCE schoolserver: http://schoolserver.org/
 
::https://sugardextrose.org/projects/xsce/
 
[[File:Dextrose-4.png|300px]] [[File:Dextrose-3.png|300px]]
 
*Dextrose running in KDE Ubuntu 12.04.2
 
*Note KDE has to be installed after sugar is installed to get to this view.
 
  
===Download===
+
Create a user for Sugar and set a default desktop environment:
:NEW see notes section below
+
sudo adduser sugar
 +
  sudo su - sugar -c 'echo sugar >> .xsession'
  
*''' http://people.sugarlabs.org/Tgillard/ubuntu_12.04-20130712_i686.iso '''
+
Start a session:
 +
rdesktop -g 1200x900 -u sugar -p sugar 0
  
===Install to Hard Disk===
+
==Ubuntu 16.04 Xenial LTS==
#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===
+
Sugar 0.106 is in the archive for Ubuntu 16.04 Xenial, and can be installed by typing
*Sugar terminal:
 
sudo su
 
password
 
apt-get install kde-full
 
- Select lightdm for desktop manager when asked
 
- Select remote (none)
 
*logout/login
 
- Click on the round icon in the right top corner to display the '''D'''esktop '''M'''anagers available in the lightdm drop-down menu and select one:
 
    GNOME Classic
 
    GNOME Classic (no effects)
 
    KDE Plasma Workspace
 
    Sugar
 
*It appears that lightdm which is added when KDE is installed picks up Gnome also (used by Sugar)
 
  
===Install GNOME===
+
  sudo apt install sucrose
:To complete the install of GNOME
+
<!-- last tested with Ubuntu 16.04.1 Xenial) -->
*Sugar terminal:
 
  sudo su
 
password
 
apt-get install gnome
 
- Select lightdm for desktop manager when asked
 
  
===Notes===
+
Sugar 0.110 can be installed by careful addition of the Ubuntu 17.04 Zesty packages.
From IRC Aug 3 2013
 
<dfarning> You can download the new alpha image from
 
<dfarning> http://ubuntu.activitycentral.com/makeiso/iso/ubuntu_12.04-20130730_i686.iso
 
<dfarning> (md5 a91fb1e3b8bdc1c8bdea701702ef807c)
 
<dfarning> In this release all control panel sections should work:
 
<dfarning> - The keyboard section was failing because of libxklavier lacking the...
 
...
 
<dfarning> satellit_e:  Dextrose on Trisquel, the new toast, should be coming out this week or later for those who prefer 100% free :)
 
  
From Lists: support-gang@laptop.org 07/15/2013
+
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.
 
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===
+
==OLPC Ubuntu Sugar 16.04 Xenial LTS ==
* 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
 
===Old Releases===
 
*http://old-releases.ubuntu.com/releases/
 
===Problems===
 
  
====ubuntu_12.04-20130815_i686.iso====
+
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.
:Sugar 0.98.8
 
# Time Zone in cp does not store settings.
 
# Save to Doucuments from journal works (Photo)
 
: latest (Has some Plan Cebal activities):
 
::'''Do Not Start:'''Biblioteca ceibal; CeibalNotifica; Portfolio; Scratch; Tux Paint; Write
 
::No Sound from TamTam Apps (VirtualBox test)
 
::Tam Tam edit is not full screen
 
  
====ubuntu_12.04-20130814_i686.iso====
+
==OLPC Ubuntu Sugar 14.04 Trusty LTS ==
:sugar 0.98.7
 
# Time Zone in cp does not store settings.
 
# Save to Doucuments from journal does not work (Photo) 'gi.repositorySugarExt'object has no attribute 'fat_set_hidden_attrib'
 
: latest 
 
::'''Do Not Start:''' Write;Scratch;
 
::No Sound from TamTam Apps (VirtualBox test)
 
::Tam Tam jam and edit are not full screen
 
  
====ubuntu_12.04-20130730_i686.iso====
+
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.
:08/03/2013
 
# Time Zone in cp does not store settings.
 
# Save to Documents from journal Fails.
 
::http://bugs.sugarlabs.org/ticket/4600
 
  
====ubuntu_12.04-20130712_i686.iso====
+
===Installing a system===
:07/22/2013 satellit
 
# Drag-Drop of item from journal to a mounted USB shown in the bottom left of frame fails.
 
# Clipboard is not available for journal items to paste to documents folder or external USB.
 
# "save to" fails to save to Documents folder or external USB.
 
# Network in cp fails to start in live boot but works if installed to HD?
 
# Time Zone in cp does not store settings.
 
# Keyboard fails in cp
 
# "copy to clipboard" of record picture crashes sugar
 
# Record 97 does not save picture to journal on exit
 
  
===Collaboration testing (brief)===
+
How to install Ubuntu with Sugar 0.106:
* All on Jabber.sugarlabs.org all activities started and shared from Dextrose Sugar 0.98.7
+
* 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],
:NOTE click on the screenshot to enlarge it; click on browser  '''<= back''' to return.
+
* 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]
====Chat 78 ====
+
* boot our image and install in the [http://www.ubuntu.com/download/desktop/install-ubuntu-desktop usual way],
[[File:Chat_test-collaboration.png|200px]]
+
* log out of the Unity desktop, and then log in with the Sugar desktop selected.
* 4 Participants
 
:Dextrose Sugar 0.98.7
 
::HD install on ext USB HD system76 i7; Gazelle laptop
 
:f18 Sugar 0.98.8
 
::f18 HD install on intensePC i3; fanless PC
 
:Sugar Network Sugar 0.94
 
::XO-1.5 (1 Hexokinase hf6.2d)
 
:plus visitor
 
  
====Speak 44====
+
===Adding to a system===
[[File:Speak-collaboration.png|200px]]
 
====Turtle Art 169====
 
[[File:TA-collaboration.png|200px]]
 
  
===Create.img files with dd for Duplication of USB's===
+
Note: only available for 64-bit systems, check that ''uname -i'' shows x86_64.
====Persistent 4 GB USB built with ubuntu startup-disk creator====
+
 
*Format USB Fat16
+
How to add Sugar 0.107 to an Ubuntu 14.04 Trusty system:
*Start ubuntu startup-disk creator
+
* edit <tt>/etc/apt/sources.list</tt> to add the OLPC archive,
*choose Dextrose-sugar.iso from "other" (1.2 GB )
+
deb [trusted=yes arch=amd64] <nowiki>http://dev.laptop.org/pub/us</nowiki> trusty main
*select USB Target
+
* update the package lists, and install Sugar,
*Move slider to left to (1.8GB)
+
  sudo apt update && sudo apt install olpc-ubuntu-sugar
*Write USB
+
* log out of the Unity desktop, and then log in with the Sugar desktop selected.
:Boot from USB and select try without installing
 
::Changes to USB will be saved on reboot.
 
=====Make .img file with dd=====
 
'''NOTE''' Use mount command to confirm device name for mounted USB eg: /dev/sdb; /devsdc; /dev/sdd...etc
 
:'''This is very imporant as you can distroy your hard disk if you use the wrong device name.'''
 
  dd if=/dev/sdb of=Dextrose-sugar4p3.img bs=2M
 
1850+1 records in
 
1850+1 records out
 
3880452096 bytes (3.9 GB) copied, 224.698 s, 17.3 MB/s
 
=====Use .img to write 2nd USB=====
 
:This can be repeated as many times as needed for duplication of USB's
 
dd if=Dextrose-sugar4p3.img of=/dev/sdb bs=2M
 
  
*Download:http://people.sugarlabs.org/Tgillard/Dextrose-sugar4p3.img  3.6G
+
===Upgrading a system===
:NeW 8/15/2013
 
:Use a 4 GB USB or larger
 
  
====Install to 8 GB USB from booted burned DVD====
+
How to upgrade to Sugar 0.107 on an existing Ubuntu 14.04 Trusty system with an earlier version of Sugar already installed:
:'''Note''' Ubuntu will make changes in your grub boot settings. It is preferred to remove the Laptop Hard Disk and boot from DVD of .iso
+
* update the package lists, and apply all pending updates,
:This will be a robust ext4 install of Dextrose-sugar on a USB
+
  sudo apt update && sudo apt dist-upgrade
*Boot DVD
+
* log out, and then log in with the Sugar desktop selected.
*Format USB as / 6GB ext4 plus (1.8GB) swap
 
*Install to USB 
 
=====Make .img file with dd=====
 
  dd if=/dev/sdb of=Dextrose-sugar83.img bs=2M
 
3817+1 records in
 
3817+1 records out
 
8006074368 bytes (8.0 GB) copied, 678.706 s, 11.8 MB/s
 
=====Use .img to write 2nd USB=====
 
:This can be repeated as many times as needed for duplication of USB's
 
dd if=Dextrose-sugar83.img of=/dev/sdb bs=2M
 
  
 +
==See also==
 +
* [https://wiki.debian.org/Derivatives/Census/OLPC Debian Derivatives Census - OLPC]
  
 
==Previous releases==
 
==Previous releases==
Line 239: Line 97:
  
 
==Subpages==
 
==Subpages==
{{Special:PrefixIndex/{{PAGENAMEE}}/}}
+
{{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