Difference between revisions of "Sweets Distribution"

From Sugar Labs
Jump to navigation Jump to search
(tested sweets distribution on 11.10)
Line 48: Line 48:
  
 
=== Ubuntu and its derivates ===
 
=== Ubuntu and its derivates ===
Add a software source and import the key.  Choose one of the following:
+
Add a software source, import the key, update the package list, and install the package ''sweets-distribution''.  Choose one of the following [[compound commands]], and cut and paste it into a terminal:
  
 
*Sugar 0.94 with Ubuntu-11.10:
 
*Sugar 0.94 with Ubuntu-11.10:
Line 55: Line 55:
 
   SD=http://download.sugarlabs.org/packages/SweetsDistribution:
 
   SD=http://download.sugarlabs.org/packages/SweetsDistribution:
 
   sudo apt-add-repository "deb $SD/$SV/Ubuntu-$UV/ ./" && \
 
   sudo apt-add-repository "deb $SD/$SV/Ubuntu-$UV/ ./" && \
   wget -qO- $SD/$SV/Ubuntu-$UV/Release.key | sudo apt-key add -
+
   wget -qO- $SD/$SV/Ubuntu-$UV/Release.key | sudo apt-key add - && \
 +
  sudo apt-get update && \
 +
  sudo apt-get install sweets-distribution
 
*Sugar 0.94 with Ubuntu-11.04 or Trisquel-5.0:
 
*Sugar 0.94 with Ubuntu-11.04 or Trisquel-5.0:
 
   SV=0.94
 
   SV=0.94
Line 61: Line 63:
 
   SD=http://download.sugarlabs.org/packages/SweetsDistribution:
 
   SD=http://download.sugarlabs.org/packages/SweetsDistribution:
 
   sudo apt-add-repository "deb $SD/$SV/Ubuntu-$UV/ ./" && \
 
   sudo apt-add-repository "deb $SD/$SV/Ubuntu-$UV/ ./" && \
   wget -qO- $SD/$SV/Ubuntu-$UV/Release.key | sudo apt-key add -
+
   wget -qO- $SD/$SV/Ubuntu-$UV/Release.key | sudo apt-key add - && \
 +
  sudo apt-get update && \
 +
  sudo apt-get install sweets-distribution
 
:*Unmet dependency, Depends on sweets-write but is not going to be installed  
 
:*Unmet dependency, Depends on sweets-write but is not going to be installed  
 
:**Cause is incorrect Depends on python-abiword, an Ubuntu package,
 
:**Cause is incorrect Depends on python-abiword, an Ubuntu package,
Line 70: Line 74:
 
   SD=http://download.sugarlabs.org/packages/SweetsDistribution:
 
   SD=http://download.sugarlabs.org/packages/SweetsDistribution:
 
   sudo apt-add-repository "deb $SD/$SV/Ubuntu-$UV/ ./" && \
 
   sudo apt-add-repository "deb $SD/$SV/Ubuntu-$UV/ ./" && \
   wget -qO- $SD/$SV/Ubuntu-$UV/Release.key | sudo apt-key add -
+
   wget -qO- $SD/$SV/Ubuntu-$UV/Release.key | sudo apt-key add - && \
 +
  sudo apt-get update && \
 +
  sudo apt-get install sweets-distribution
 
:*see [[Community/Distributions/Ubuntu/Tests|latest test results]]
 
:*see [[Community/Distributions/Ubuntu/Tests|latest test results]]
 
*Sugar 0.88 with Ubuntu-10.10 or Trisquel-4.5:
 
*Sugar 0.88 with Ubuntu-10.10 or Trisquel-4.5:
Line 77: Line 83:
 
   SD=http://download.sugarlabs.org/packages/SweetsDistribution:
 
   SD=http://download.sugarlabs.org/packages/SweetsDistribution:
 
   sudo apt-add-repository "deb $SD/$SV/Ubuntu-$UV/ ./" && \
 
   sudo apt-add-repository "deb $SD/$SV/Ubuntu-$UV/ ./" && \
   wget -qO- $SD/$SV/Ubuntu-$UV/Release.key | sudo apt-key add -
+
   wget -qO- $SD/$SV/Ubuntu-$UV/Release.key | sudo apt-key add - && \
 +
  sudo apt-get update && \
 +
  sudo apt-get install sweets-distribution
 
*Sugar 0.88 with Ubuntu-10.04 or Trisquel-4.1:
 
*Sugar 0.88 with Ubuntu-10.04 or Trisquel-4.1:
 
   SV=0.88
 
   SV=0.88
Line 83: Line 91:
 
   SD=http://download.sugarlabs.org/packages/SweetsDistribution:
 
   SD=http://download.sugarlabs.org/packages/SweetsDistribution:
 
   sudo apt-add-repository "deb $SD/$SV/Ubuntu-$UV/ ./" && \
 
   sudo apt-add-repository "deb $SD/$SV/Ubuntu-$UV/ ./" && \
   wget -qO- $SD/$SV/Ubuntu-$UV/Release.key | sudo apt-key add -
+
   wget -qO- $SD/$SV/Ubuntu-$UV/Release.key | sudo apt-key add - && \
 +
  sudo apt-get update && \
 +
  sudo apt-get install sweets-distribution
  
 
Or check [http://download.sugarlabs.org/packages/SweetsDistribution%3a the downloads directory] for other combinations.
 
Or check [http://download.sugarlabs.org/packages/SweetsDistribution%3a the downloads directory] for other combinations.
  
Refresh the package list:
+
The above compound commands install the full Sweets Distribution, i.e., Sugar Shell and Fructose activities. To instsall only the Sugar Shell, change ''sugar-distribution'' to ''sweets-sugar'' before pasting the command into a terminal.
 
 
sudo apt-get update
 
 
 
Install the full Sweets Distribution, i.e., Sugar Shell and Fructose activities:
 
 
 
  sudo apt-get install sweets-distribution
 
 
 
Or, install only the Sugar Shell:
 
 
 
sudo apt-get install sweets-sugar
 
  
 
See also [[Community/Distributions/Ubuntu/Tests|latest test results]].
 
See also [[Community/Distributions/Ubuntu/Tests|latest test results]].

Revision as of 20:34, 7 March 2012

Summary

Announcement post

These are the major purposes for this distribution:

  • When Sweets is more appropriate for personal usage, Sweets Distribution might be useful for Sugar distributors, e.g., special GNU/Linux distributions targeted for Sugar usage;
  • Some times it is nearly impossible to have a recent Sugar release in not so recent GNU/Linux distributions, e.g., LTS releases. Sweets Distribution will be helpful in that case;
  • Sweets Distribution is all about packaging Sugar sweets, thus, it is a zero-cost effort. The downside is that it is impossible to add Sweets Distribution's packages to official repositories of GNU/Linux distributions.

This is a special, Sugar only, distribution. These are the key points that make the Sweets Distribution different from other Distributions:

  • The Sweets Distribution is formed as a 3rd party repository, i.e., it is not a complete GNU/Linux distribution;
  • It supports several GNU/Linux distributions at the same time;
  • Packages from these repositories do not interfere with the rest of the system, e.g., it is possible to use Sugar from the Sweets Distribution and Sugar from official repositories at the same time.

Content

Sweets Distribution contains only Glucose, Fructose, and Sugar Platform dependencies. More activities are not included because

  • people can install activities at any time, and
  • it is easy to support Sweets Distribution based Sugar distribution by including activities that are more appropriate for the current use case.

Glucose is being used from dextrose/sugar sweet and contains pristine Glucose and Dextrose patches.

Releases

The following is a list of Sweets Distribution releases and GNU/Linux repositories they support. The list of supported GNU/Linux distributions is populated entirely on demand, e.g., Ubuntu packages are being used in Trisquel. Please, submit a request if you need more.

Sweets Distribution 0.88

Stable Dextrose 2 based releases:

Sweets Distribution 0.94

Testing Dextrose 3 based releases:

Found issues:
  • Read doesn't start since it is impossible to start gtk-2 based version; gtk-3 based fails to start

Installation

Ubuntu and its derivates

Add a software source, import the key, update the package list, and install the package sweets-distribution. Choose one of the following compound commands, and cut and paste it into a terminal:

  • Sugar 0.94 with Ubuntu-11.10:
 SV=0.94
 UV=11.10
 SD=http://download.sugarlabs.org/packages/SweetsDistribution:
 sudo apt-add-repository "deb $SD/$SV/Ubuntu-$UV/ ./" && \
 wget -qO- $SD/$SV/Ubuntu-$UV/Release.key | sudo apt-key add - && \
 sudo apt-get update && \
 sudo apt-get install sweets-distribution
  • Sugar 0.94 with Ubuntu-11.04 or Trisquel-5.0:
 SV=0.94
 UV=11.04
 SD=http://download.sugarlabs.org/packages/SweetsDistribution:
 sudo apt-add-repository "deb $SD/$SV/Ubuntu-$UV/ ./" && \
 wget -qO- $SD/$SV/Ubuntu-$UV/Release.key | sudo apt-key add - && \
 sudo apt-get update && \
 sudo apt-get install sweets-distribution
  • Unmet dependency, Depends on sweets-write but is not going to be installed
    • Cause is incorrect Depends on python-abiword, an Ubuntu package,
    • Workaround is: apt-get source python-abiword && apt-get build-dep python-abiword && cd pyabiword-0.8.0 && dpkg-buildpackage && cd .. && dpkg -i python-abiword_*.deb && apt-get install sweets-distribution
  • Sugar 0.94 with Ubuntu-10.04.4 or Trisquel-4.1
 SV=0.94
 UV=10.04
 SD=http://download.sugarlabs.org/packages/SweetsDistribution:
 sudo apt-add-repository "deb $SD/$SV/Ubuntu-$UV/ ./" && \
 wget -qO- $SD/$SV/Ubuntu-$UV/Release.key | sudo apt-key add - && \
 sudo apt-get update && \
 sudo apt-get install sweets-distribution
  • Sugar 0.88 with Ubuntu-10.10 or Trisquel-4.5:
 SV=0.88
 UV=10.10
 SD=http://download.sugarlabs.org/packages/SweetsDistribution:
 sudo apt-add-repository "deb $SD/$SV/Ubuntu-$UV/ ./" && \
 wget -qO- $SD/$SV/Ubuntu-$UV/Release.key | sudo apt-key add - && \
 sudo apt-get update && \
 sudo apt-get install sweets-distribution
  • Sugar 0.88 with Ubuntu-10.04 or Trisquel-4.1:
 SV=0.88
 UV=10.04
 SD=http://download.sugarlabs.org/packages/SweetsDistribution:
 sudo apt-add-repository "deb $SD/$SV/Ubuntu-$UV/ ./" && \
 wget -qO- $SD/$SV/Ubuntu-$UV/Release.key | sudo apt-key add - && \
 sudo apt-get update && \
 sudo apt-get install sweets-distribution

Or check the downloads directory for other combinations.

The above compound commands install the full Sweets Distribution, i.e., Sugar Shell and Fructose activities. To instsall only the Sugar Shell, change sugar-distribution to sweets-sugar before pasting the command into a terminal.

See also latest test results.

Usage

To run Sugar in emulator mode, select the Education/Sugar application menu item or enter the following in a terminal:

sweets-sugar-emulator

To login to a Sugar session, choose the Sweets Distribution session type.

Feedback

  • Submit your bug report or feature request.
  • Subscribe to the sugar-devel mailing list and email with the subject prefixed with [SWEETS].
  • Ask your question on IRC channels, #sugar (not logged) or #sugar-newbies (logged).