Difference between revisions of "Sweets Distribution"

From Sugar Labs
Jump to navigation Jump to search
(i disagree, setting username is optional and is not important enough to interrupt the explanation of how to install sweets distribution on ubuntu)
Line 1: Line 1:
 +
{{Template:Harmonic Distribution Cycle Linkbar}}
 +
 
== Summary ==
 
== Summary ==
  
[http://www.mail-archive.com/sugar-devel@lists.sugarlabs.org/msg23369.html Announcement post]
+
This is a set of repositories with native packages that compose [[Platform_Team/Harmonic_Distribution/Software|Basic software]] of [[Platform_Team/Harmonic_Distribution|Harmonic Distribution]] effort.
  
These are the major purposes for this distribution:
+
Sweets Distributions packages form two major parts:
  
* When [[Platform_Team/Guide/Sweets_Usage#Sugar_via_Sweets|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;
+
* '''Sweets Desktop'''<br>Sucrose, desktop environment of Sugar Learning Platform;
* 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 Server'''<br>[[Platform_Team/Server_Kit|Server Kit]] components to create school servers to support Sugar Learning Platform.
* Sweets Distribution is all about packaging [[Platform_Team/Guide/Sweets_Usage#Sugar_via_Sweets|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 [[Community/Distributions|Distributions]]:
 
This is a special, Sugar only, distribution. These are the key points that make the Sweets Distribution different from other [[Community/Distributions|Distributions]]:
  
 
* The Sweets Distribution is formed as a 3rd party repository, i.e., it is not a complete GNU/Linux distribution;
 
* The Sweets Distribution is formed as a 3rd party repository, i.e., it is not a complete GNU/Linux distribution;
* It [[#Releases|supports]] several GNU/Linux distributions at the same time;
+
* It supports [[Platform_Team/Harmonic_Distribution/Supported_platforms|several]] several GNU/Linux distributions, and their releases, 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.
 
* 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 ==
+
== Repositories ==
 +
 
 +
Sweets Distribution provides several repositories:
 +
 
 +
* '''0.94'''<br>Repository with stable Sucrose-0.94 packages;
 +
* '''0.88'''<br>Repository with stable Sucrose-0.88 packages;
 +
* '''Factory'''<br>Packages in development stage.
  
Sweets Distribution contains only Glucose, Fructose, and Sugar Platform dependencies. More activities are not included because
+
Repositories are accessible for all [[Platform_Team/Harmonic_Distribution/Supported_platforms|Supported platforms]].
  
* people can install activities at any time, and
+
== Installation ==
* 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 {{Code|dextrose/sugar}} sweet and contains pristine Glucose and [[Dextrose]] patches.
+
Experienced users might follow [[Community/Distributions/Sweets_Distribution/Manual_Installation|manual instructions]] to add Sweets Distribution [http://download.sugarlabs.org/packages/ repositories] to the system.
  
== Releases ==
+
For easy attaching Sweets Distribution repositories, use {{Code|sweets-distribution}} command. On new systems, download [http://download.sugarlabs.org/packages/sweets-distribution.sh sweets-distribution.sh] script which is a bundled version of {{Code|sweets-distribution}}. After the first successful {{Code|sweets-distribution.sh select}} call, sweets-distribution will be installed to the system and there are no reasons to use bundled version anymore.
  
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 [[Community/Distributions/Trisquel|Trisquel]]. Please, [[Platform_Team/Sweets/Feedback|submit]] a request if you need more.
+
To get the status information about currently selected and all available repositories:
  
 +
sweets-distribution status
 +
 +
To register chosen, here {{Code|Factory}}, repository in the system
 +
 +
sudo sweets-distribution select Factory
 +
 +
When {{Code|select}} command will finish, install one of the following packages:
 +
 +
* {{Code|sweets-desktop}}<br>The full packages list from Sweets Desktop;
 +
* {{Code|sweets-sugar}}<br>Only Sugar Shell.
 +
 +
Sometimes, it will be required to downgrade packages while switching to another repository. The easy way to do that is {{Code|sync}} command:
 +
 +
sudo sweets-distribution sync
 +
 +
Most of Sweets Distribution packages will be placed to {{Code|/opt/sweets}} directory, thus, it will be possible to use Sugar from Sweets Distribution and from official packages at the same time.
 +
<!--
 
=== Sweets Distribution 0.88 ===
 
=== Sweets Distribution 0.88 ===
  
Line 44: Line 67:
 
* [http://download.sugarlabs.org/packages/SweetsDistribution:/0.94/Ubuntu-10.10/ Ubuntu-10.04]
 
* [http://download.sugarlabs.org/packages/SweetsDistribution:/0.94/Ubuntu-10.10/ Ubuntu-10.04]
 
* [http://download.sugarlabs.org/packages/SweetsDistribution:/0.94/Ubuntu-10.04/ Ubuntu-10.04]
 
* [http://download.sugarlabs.org/packages/SweetsDistribution:/0.94/Ubuntu-10.04/ Ubuntu-10.04]
 
+
-->
== 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 [[Compound commands#Copy and Paste|copy and paste]] it into a terminal:
 
 
 
*Sugar 0.94 with Ubuntu-11.10, Trisquel 5.5, or Linux Mint 12:
 
  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, Trisquel-5.0, or Linux Mint 11:
 
  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
 
 
 
*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 [http://download.sugarlabs.org/packages/SweetsDistribution%3a the downloads directory] for other combinations.
 
 
 
The above compound commands install the full Sweets Distribution, i.e., Sugar Shell and Fructose activities.  To install only the Sugar Shell, change ''sugar-distribution'' to ''sweets-sugar'' before pasting the command into a terminal.
 
 
 
See also [[Community/Distributions/Ubuntu/Tests|latest test results]].
 
  
 
== Usage ==
 
== Usage ==
Line 109: Line 76:
  
 
To login to a Sugar session, choose the ''Sweets Distribution'' session type.
 
To login to a Sugar session, choose the ''Sweets Distribution'' session type.
 +
 +
== See also ==
 +
 +
* [http://www.mail-archive.com/sugar-devel@lists.sugarlabs.org/msg23369.html Announcement post].
 +
* Latest [[Community/Distributions/Ubuntu/Tests|test results]].
  
 
== Feedback ==
 
== Feedback ==
  
 
{{:Platform_Team/Sweets/Feedback}}
 
{{:Platform_Team/Sweets/Feedback}}

Revision as of 18:37, 7 April 2012

Harmonic Distribution version cycle: | 1.0 | Factory |

Summary

This is a set of repositories with native packages that compose Basic software of Harmonic Distribution effort.

Sweets Distributions packages form two major parts:

  • Sweets Desktop
    Sucrose, desktop environment of Sugar Learning Platform;
  • Sweets Server
    Server Kit components to create school servers to support Sugar Learning Platform.

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 several GNU/Linux distributions, and their releases, 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.

Repositories

Sweets Distribution provides several repositories:

  • 0.94
    Repository with stable Sucrose-0.94 packages;
  • 0.88
    Repository with stable Sucrose-0.88 packages;
  • Factory
    Packages in development stage.

Repositories are accessible for all Supported platforms.

Installation

Experienced users might follow manual instructions to add Sweets Distribution repositories to the system.

For easy attaching Sweets Distribution repositories, use sweets-distribution command. On new systems, download sweets-distribution.sh script which is a bundled version of sweets-distribution. After the first successful sweets-distribution.sh select call, sweets-distribution will be installed to the system and there are no reasons to use bundled version anymore.

To get the status information about currently selected and all available repositories:

sweets-distribution status

To register chosen, here Factory, repository in the system

sudo sweets-distribution select Factory

When select command will finish, install one of the following packages:

  • sweets-desktop
    The full packages list from Sweets Desktop;
  • sweets-sugar
    Only Sugar Shell.

Sometimes, it will be required to downgrade packages while switching to another repository. The easy way to do that is sync command:

sudo sweets-distribution sync

Most of Sweets Distribution packages will be placed to /opt/sweets directory, thus, it will be possible to use Sugar from Sweets Distribution and from official packages at the same time.

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.

See also

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