<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sugarlabs.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Alga42</id>
	<title>Sugar Labs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sugarlabs.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Alga42"/>
	<link rel="alternate" type="text/html" href="https://wiki.sugarlabs.org/go/Special:Contributions/Alga42"/>
	<updated>2026-04-13T16:58:36Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.sugarlabs.org/index.php?title=Ubuntu&amp;diff=28728</id>
		<title>Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://wiki.sugarlabs.org/index.php?title=Ubuntu&amp;diff=28728"/>
		<updated>2009-05-06T19:54:40Z</updated>

		<summary type="html">&lt;p&gt;Alga42: sheesh&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Sugar on Ubuntu =&lt;br /&gt;
&lt;br /&gt;
[[Image:Ubuntu.jpg|right]]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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is a much simpler platform to set up for activity developers than jhbuild, although is not bleeding-edge.&lt;br /&gt;
&lt;br /&gt;
{I might get flamed for this; I know I shouldn&#039;t post on a wiki like this, but no one will read the discussion: can we list a simple way of installing from jhbuild on Ubuntu 9.04 or installing from a PPA?  Is 0.83 in the Ubuntu sugar PPA recent enough?  How about installing from source (not git/jhbuild) and then adding an X session?  With Ubuntu being the most popular Linux distribution, it is in the interest of this project to flesh out these details.}&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Sugar on Ubuntu 9.04 (jaunty) ==&lt;br /&gt;
&lt;br /&gt;
Jaunty, the current Ubuntu release, has Sucrose 0.83 packages synced from [[Community/Distributions/Debian|Debian]].&lt;br /&gt;
&lt;br /&gt;
=== Installing ===&lt;br /&gt;
&lt;br /&gt;
Installation instructions:&lt;br /&gt;
 sudo apt-get install sugar sugar-activities&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[satellit] 04/30/2009 &lt;br /&gt;
*NOTE 1: Also tried synaptic install of sugar, neither method runs correctly. sugar-emulator will not start, terminal: sugar-emulator shows errors and will not start.?? &lt;br /&gt;
(VMworkstation 6.5.2 install (runnng Ubuntu 8,04 Hardy) and Ubuntu 9.04 VM install of Ubuntu 9.04 made 2Gb SD startup disk with persistence tested in EeePC900 &lt;br /&gt;
 both installations were updated before trying install of sugar.&lt;br /&gt;
&lt;br /&gt;
Here are error messages from terminal:&lt;br /&gt;
&lt;br /&gt;
robert@ubuntu:~$ sugar&lt;br /&gt;
root window unavailible (maybe another wm is running?)&lt;br /&gt;
/usr/lib/python2.6/dist-packages/jarabe/desktop/meshbox.py:19: DeprecationWarning: the sha module is deprecated; use the hashlib module instead&lt;br /&gt;
  import sha&lt;br /&gt;
/usr/lib/python2.6/dist-packages/jarabe/desktop/keydialog.py:17: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
  File &amp;quot;/usr/bin/sugar-session&amp;quot;, line 173, in &amp;lt;module&amp;gt;&lt;br /&gt;
    main()&lt;br /&gt;
  File &amp;quot;/usr/bin/sugar-session&amp;quot;, line 134, in main&lt;br /&gt;
    cleanup_logs()&lt;br /&gt;
  File &amp;quot;/usr/bin/sugar-session&amp;quot;, line 74, in cleanup_logs&lt;br /&gt;
    os.remove(os.path.join(root, f))&lt;br /&gt;
OSError: [Errno 13] Permission denied: &#039;/home/robert/.sugar/default/logs/1241095852/datastore.log&#039;&lt;br /&gt;
robert@ubuntu:~$&lt;br /&gt;
&lt;br /&gt;
sugar command Does not work from sudo either..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Note 2: Ubuntu 9.04 USB Startup disk program makes SD which can be updated. If you add user and switch to new user, &lt;br /&gt;
the Install icon goes away from the desktop and is now located in System Administration unlike Fedora 11 Preview where it is not removed from a user&#039;s desktop, And a system update fails.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Note 3: sugar-emulator in terminal results in a black screen with mouse coursor. Have to Alt-Tab get out..&lt;br /&gt;
&lt;br /&gt;
== Sugar on Ubuntu 8.10 (intrepid) ==&lt;br /&gt;
&lt;br /&gt;
Intrepid, the previous Ubuntu release, has Sucrose 0.82 packages synced from [[Community/Distributions/Debian|Debian]].&lt;br /&gt;
&lt;br /&gt;
=== Installing ===&lt;br /&gt;
&lt;br /&gt;
Installation instructions:&lt;br /&gt;
 sudo apt-get install sugar sugar-activities&lt;br /&gt;
&lt;br /&gt;
=== Running Sugar ===&lt;br /&gt;
&lt;br /&gt;
Run sugar in a window under a gnome login, using the Applications menu &amp;gt; Other &amp;gt; Sugar Emulator, or running the following in a terminal:&lt;br /&gt;
 sugar-emulator&lt;br /&gt;
&lt;br /&gt;
If everything is working fine, you can log into Sugar from the gdm login screen instead of running sugar-emulator.&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
The following does not currently work, but should in the future:&lt;br /&gt;
Some activities could not be included due to missing dependencies - notably Read and Write. These will be published in the [https://launchpad.net/~sugarteam/+archive Sugar Team PPA] soon, which can be accessed via&lt;br /&gt;
 sudo -s&lt;br /&gt;
 echo deb http://ppa.launchpad.net/sugarteam/ubuntu hardy main &amp;gt; /etc/apt/sources.list.d/sugar.list&lt;br /&gt;
 apt-get update &lt;br /&gt;
 apt-get install sugar sugar-emulator sugar-activities&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Upgrading ===&lt;br /&gt;
&lt;br /&gt;
If you are experiencing problems after upgrading from 8.04 (Hardy), please do the following to uninstall the partially-upgraded packages:&lt;br /&gt;
 sudo apt-get purge sugar sugar-\*&lt;br /&gt;
and repeat the installation command outlined above to install only the new packages.&lt;br /&gt;
&lt;br /&gt;
=== Reporting Bugs ===&lt;br /&gt;
&lt;br /&gt;
If you need log files for debugging, use the following command in a GNOME terminal &#039;&#039;(not Sugar Terminal)&#039;&#039; to run sugar with debug logs turned on:&lt;br /&gt;
 SUGAR_LOGGER_LEVEL=debug PRESENCESERVICE_DEBUG=1 sugar-emulator&lt;br /&gt;
&lt;br /&gt;
This generates log files in the .sugar/default/logs directory under your home directory.&lt;br /&gt;
&lt;br /&gt;
To report a bug on Sugar or one of the Sugar activities on Ubuntu, use the following steps:&lt;br /&gt;
* Go to https://launchpad.net/sucrose which represents all the Sugar components and activities supported in Ubuntu.&lt;br /&gt;
* Click on the appropriate component at the bottom of the page. If in doubt, click &amp;quot;Sugar shell&amp;quot; which is the base Sugar component.&lt;br /&gt;
* On the resulting page, scroll down to &amp;quot;Packages&amp;quot; and click on the hardy or intrepid package.&lt;br /&gt;
* On the resulting page, click on the &amp;quot;Bugs&amp;quot; tab at the top of the page.&lt;br /&gt;
* That takes you to a page listing known bugs on the package, and with a red &amp;quot;Report a bug&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
Please include any relevant log files in a bug report: activity log files usually are named similarly to &amp;quot;org.laptop.Chat-1.log&amp;quot; (which is the log file for Chat). If you have run the activity multiple times in the current Sugar session, there will be Chat-2, Chat-3, etc so try to include the appropriate one.&lt;br /&gt;
&lt;br /&gt;
If a problem or bug involves seeing (or not seeing) people in Neighborhood View, or activity sharing/collaboration, please also include presenceservice.log in the bug report.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please note&#039;&#039;&#039;: 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&#039;s [https://wiki.ubuntu.com/StableReleaseUpdates Stable Release Updates] process. Where possible we&#039;ll suggest a workaround, or provide a fix in the [https://launchpad.net/~sugarteam/+archive Sugar Team PPA] first.&lt;br /&gt;
&lt;br /&gt;
== Sugar on Ubuntu 8.04 LTS (hardy) ==&lt;br /&gt;
&lt;br /&gt;
hardy includes an old version of Sugar, 0.79. You can install the current stable release of Sugar, 0.82, with the instructions below.&lt;br /&gt;
&lt;br /&gt;
For bug reporting, please follow the instructions above as for intrepid.&lt;br /&gt;
&lt;br /&gt;
=== Sugar 0.79.0 ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Old, but included in Hardy&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Sugar was packaged in Universe for Hardy (Ubuntu 8.04) by Jani Monoses. The version packaged is 0.79.0, similar to the version in OLPC Release 8.1.0.&lt;br /&gt;
&lt;br /&gt;
[http://janimo.blogspot.com/2008/02/sugar-finally-in-hardy-universe.html Installation instructions]&lt;br /&gt;
&lt;br /&gt;
There are extra packages in a [https://launchpad.net/~sugar/+archive/ PPA], including activities that could not be included in the Ubuntu archive due to license issues, as well as updated abiword packages.&lt;br /&gt;
&lt;br /&gt;
We do recommend using the version 0.82 packages instead, as mentioned below:&lt;br /&gt;
&lt;br /&gt;
=== Sucrose 0.82 ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Up-to-date version, extra repository&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The Ubuntu packages were updated to the latest [[Development Team/Release/Releases/Sucrose/0.82|0.82]] point release in the [https://launchpad.net/~sugarteam/+archive Sugar Team PPA].&lt;br /&gt;
&lt;br /&gt;
Installation instructions:&lt;br /&gt;
 sudo -s&lt;br /&gt;
 echo deb http://ppa.launchpad.net/sugarteam/ubuntu hardy main &amp;gt; /etc/apt/sources.list.d/sugar.list&lt;br /&gt;
 apt-get update &lt;br /&gt;
 apt-get install sugar sugar-emulator sugar-activities&lt;br /&gt;
&lt;br /&gt;
= ejabberd collaboration server on Ubuntu =&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
For Ubuntu 8.04 you need to build from source: http://wiki.laptop.org/go/Installing_ejabberd&lt;br /&gt;
&lt;br /&gt;
[[Category:Supported systems]]&lt;/div&gt;</summary>
		<author><name>Alga42</name></author>
	</entry>
</feed>