Difference between revisions of "Ubuntu"

From Sugar Labs
Jump to navigation Jump to search
m (→‎Known Bugs:: Browse will not start)
(380 intermediate revisions by 7 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]
==UbuntuSugarRemix==
 
'''As of December 2009, We started a total refactoring of how Sugar is packaged in Ubuntu.'''
 
  
'''Please See the Ubuntu Sugar Remix https://wiki.ubuntu.com/Sugar for the latest information.'''
+
In relation to Sugar, Ubuntu is a downstream distribution project that can be used to run Sugar.
  
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.
+
==Ubuntu 18.04 Bionic==
  
For some people the emulator mode has a serious bug where modifier keys get stuck. A work around is to disable keyboard repeat.
+
Sugar 0.112 will be in Ubuntu 18.04 Bionic.
  
:::from https://wiki.ubuntu.com/Sugar web page :
+
==Ubuntu 17.10 Artful==
  
==Ubuntu Sugar Remix Ubuntu 10.10 "Maverick Meerkat"==
+
Sugar 0.110 is in the archive for Ubuntu 17.10 Artful, and can be installed by typing
: Available at gdm login:
 
::Ubuntu Desktop Edition
 
::Ubuntu Sugar Remix    Ubuntu maverick (development branch) sugar 0.88.1
 
  
: '''Download Ubuntu Sugar Remix CD image'''
+
sudo apt install sucrose gir1.2-webkit-3.0
  
:The CD images are available from http://download.sugarlabs.org/usr/
+
* log out,
::Latest:USR-i386-20100922.iso Ubuntu 10.10 "Maverick Meerkat" -09/24/2010
+
* log in with the Sugar desktop selected.
  
: '''Burn your Ubuntu Sugar Remix CD'''
+
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].
::After the ISO file has finished downloading, you will have to burn the file to a CD. The ISO file will most likely require a special application to burn. Click the link below to find detailed instructions. How to burn a CD image.
 
 
* Windows: http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/Windows
 
* Linux: http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/Linux
 
* OR Run it in a Virtual Machine
 
:http://wiki.sugarlabs.org/go/VirtualBox
 
:http://wiki.sugarlabs.org/go/Emulator_image_files#Other_virtual_machines
 
  
:'''Install Ubuntu Sugar Remix'''
+
==Using Sugar inside another desktop environment on Ubuntu==
  
::When the CD is ready, simply put it in your CD drive, restart your computer and follow the instructions that will appear on your screen. Don't forget that you can create more copies and pass the CD to as many people as you like.  
+
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.
  
: For netbooks without a CD
+
Install the Remote Desktop packages:
::: Use System/Administration/"USB Startup Disk Creator" in a Ubuntu Desktop to Make an Installer USB. Use this USB to install USR on your netbook.
+
sudo apt install xrdp rdesktop
:Boot from Hard Disk
 
  
*Hint; to pull in the latest updates including activities: <ctrl> <alt> f5 will get terminal
+
Create a user for Sugar and set a default desktop environment:
  sudo apt-get update
+
  sudo adduser sugar
  sudo apt-get upgrade
+
  sudo su - sugar -c 'echo sugar >> .xsession'
:Use this browser Surf-115.xo: http://people.sugarlabs.org/Tgillard/Surf-115.xo (sugar-browse does not work)
 
:: To install Surf: download Surf-115.xo to a USB (outside of sugar); Start USR Insert this USB and drag-drop it into the USR sugar-journal.  
 
  
*Sugar is available as menu item Education/Sugar; but it is not full screen and not all of the Sugar screen is visible.
+
Start a session:
:For Full Screen right click on menu item and save to desktop, then open properties of icon on desktop and change command to "sugar-emulator -f" (full screen option) Start Sugar from this icon...
+
rdesktop -g 1200x900 -u sugar -p sugar 0
  
 +
==Ubuntu 17.04 Zesty==
  
==VirtualBox appliance of '''U'''buntu'''S'''ugar'''''R'''emix==
+
Sugar 0.110 is in the archive for Ubuntu 17.04 Zesty, and can be installed by typing
*Prebuilt Virtualbox Appliance of USR-i386-20100922.iso
 
:Links:http://download.sugarlabs.org/usr/  http://wiki.sugarlabs.org/go/Community/Distributions/Ubuntu https://wiki.ubuntu.com/Sugar
 
  
:'''download 3 files''' [http://people.sugarlabs.org/Tgillard/USR-922-IRC-Remix.ovf][http://people.sugarlabs.org/Tgillard/USR-922-IRC-Remix.mf][http://people.sugarlabs.org/Tgillard/USR-i386-20100922.vmdk]
+
sudo apt install sucrose
::TZ=LA USA USA Keyboard 8GB HD fully updated with
 
::apt-get Updates
 
::apt-get Upgrade
 
::Remixed to add
 
:::Surf-115.xo browser
 
:::IRC.xo -(edited to log in to #sugar and #ubuntu-sugarteam)
 
:::Analyze.xo
 
:::'''Import the 3 files into Virtualbox'''
 
::: User=sugar autologin
 
::: Password=sugaruser
 
  
== Sugar on Ubuntu 10.04 (lucid) ==
+
* log out,
:[http://www.ubuntu.com/desktop/get-ubuntu/download download] be sure to Download 10.04 LTS
+
* log in with the Sugar desktop selected.
===Install Sugar-desktop 0.90.1 "SWEETS" ===
+
<!-- last tested with Ubuntu 17.04 Zesty daily live image dated 2017-03-21 plus updates on 30th March 2017 -->
*Boot Install and open terminal
 
sudo su
 
cd /etc/apt
 
gedit sources.list (gedit opens)
 
add these lines to sources.conf:
 
deb http://bazaar-download.sugarlabs.org/Platform/Ubuntu-10.04 ./
 
deb http://bazaar-download.sugarlabs.org/Distribution:/0.90/Ubuntu-10.04 ./
 
save file
 
add bazaar gpg key: (in root terminal)
 
gpg --keyserver keys.sugarlabs.org --recv-keys 75BB5FDF
 
gpg --armor --export 75BB5FDF | apt-key add -
 
* start System/Administration/Synaptic Package Manager
 
:Reload Package Information
 
:search for sweets
 
:check all SWEETS selections in Synaptic
 
:apply
 
: 70 packages download (01/05/2011 satellit)
 
===='''Known Bugs:'''====
 
*1-)
 
::http://bugs.sugarlabs.org/ticket/2534#comment:1
 
: In f1 neighborhood if you make friend the avitars are repeated so there are 2 of all of them.
 
: Fix is to use Control Panel (Drop Down:My Settings/About Me)  to change color of Avitar then restart.
 
:: Friend remains but you only have 1 set of Avitars again
 
*2-)
 
: Browse will not start
 
:: import hulahop........
 
::ImportError: libxul.so: cannot open shared object file: no such file or directory
 
  
===recommended method to install 10.04 Lucid===
+
==Ubuntu 16.04 Xenial LTS==
:'''DEPRECIATED''' (01/05/2011 satellit)
 
Do new install of Ubuntu 9.10
 
press Alt + F2 and then type "update-manager -d" (without quotes). It will show you that a newversion of Ubuntu is available.
 
Click on Upgrade to upgrade your current Ubuntu 9.10
 
  
Lucid has Sugar 0.88, 0.86, and 0.84 packages synced from [[Community/Distributions/Debian|Debian]].
+
Sugar 0.106 is in the archive for Ubuntu 16.04 Xenial, and can be installed by typing
  
The current preferred method of running Sugar on Ubuntu is via Ubuntu Sugar Remix which can be downloaded at http://people.sugarlabs.org/dfarning
+
sudo apt install sucrose
 +
<!-- last tested with Ubuntu 16.04.1 Xenial) -->
  
Packages can also be install via sudo
+
Sugar 0.112 can be installed by careful addition of the Ubuntu 18.04 Bionic packages; temporarily change sources.list, update, and install the Sugar packages again, then restore sources.list.
sudo apt-get install sugar-0.88  <possibly depreciated>
 
  
You can also install Ubuntu Sugar remix on a computer running Ubuntu 10.04. from UbuntuSugarRemix wiki: [https://wiki.ubuntu.com/UbuntuSugarRemix]01/28/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.
  
  sudo add-apt-repository ppa:sugarteam/ppa
+
==OLPC Ubuntu Sugar 16.04 Xenial LTS ==
  sudo apt-get upgrade
 
  sudo apt-get install ubuntu-sugar-remix
 
  
=== Reporting Bugs ===
+
One Laptop per Child has been curating Sugar 0.112 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.
  
Please see https://wiki.ubuntu.com/UbuntuSugarRemix/Report for information on reporting bugs.
+
==See also==
 +
* [https://wiki.debian.org/Derivatives/Census/OLPC Debian Derivatives Census - OLPC]
  
'''This is likely to be reimplemented as Lucid hits Feature Freeze'''
+
==Previous releases==
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.
+
See [[Ubuntu/Previous]] for how to install older versions of Sugar on older releases of Ubuntu.
  
==Maple-syrup Ubuntu 10.04 LTS with Sugar and many other applications for netbooks==
+
==Subpages==
 
+
{{Special:PrefixIndex/{{PAGENAME}}/}}
:Ubuntu 10.04 LTS with Sugar and many other applications for netbooks
 
::Mentioned in  August 23, 2010 http://planet.sugarlabs.org/
 
 
 
===passwords===
 
*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 ====
 
: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====
 
:In terminal
 
sudo apt-get install openjdk-6-jdk  (22 files)
 
sudo apt-get update
 
sudo apt-get upgrade (213 files)
 
 
 
===Added ppa===
 
sudo add-apt-repository ppa:sugarteam/ppa
 
sudo apt-get update
 
sudo apt-get install ubuntu-sugar-remix
 
 
 
:rebooted maple_syrup
 
 
 
== Sugar-0.88 on Ubuntu 9.10 (karmic) ==
 
 
 
'''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):
 
 
 
sudo apt-get remove `dpkg-query -W -f '${package} ${maintainer}\n' | grep alsroot | awk '{print $1}'`
 
sudo sed -i '/alsroot.sugar-0.86/d' /etc/apt/sources.list
 
 
 
To install:
 
 
 
sudo add-apt-repository ppa:alsroot/trisquel-edu-3.5
 
sudo apt-get update
 
sudo apt-get install sugar-platform
 
 
 
== Sugar-0.86 on Ubuntu 9.10 (karmic) ==
 
 
 
To install:
 
 
 
sudo add-apt-repository ppa:alsroot/sugar-0.86
 
sudo apt-get update
 
sudo apt-get install sugar-platform
 
 
 
== Sugar-0.86 on Ubuntu 9.04 (jaunty) ==
 
 
 
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-3/ubuntu jaunty main >> /etc/apt/sources.list'
 
sudo apt-get update
 
sudo apt-get install sugar-platform
 
 
 
<!--
 
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.
 
 
 
: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 20:34, 17 January 2018

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

Using Sugar inside another desktop environment on Ubuntu

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

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.112 can be installed by careful addition of the Ubuntu 18.04 Bionic packages; temporarily change sources.list, update, and install the Sugar packages again, then restore sources.list.

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.112 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 also

Previous releases

See Ubuntu/Previous for how to install older versions of Sugar on older releases of Ubuntu.

Subpages