Line 1: |
Line 1: |
| === Setting up the Sugar environment === | | === Setting up the Sugar environment === |
| | | |
− | There are several options for setting up the Sugar environment for development. | + | There are several options for setting up the Sugar environment for development, depending on what equipment you have; |
− | * Install Sugar on [[Ubuntu]], [[Fedora]], or [[Debian]], using apt or dnf;
| + | |
− | * From Windows. macOS or iOS, run Sugar in a virtual machine;
| + | {| class="wikitable" |
− | * Live boot from [[SoaS|Sugar on a Stick]];
| + | |- |
− | * or ''better yet'', use Sugar Live Build containing Sugar 0.112, which can be booted from hard drive, flash drive, and optical media, automatically starting Sugar without persistence; or can be installed as a virtual machine, with persistence and password protection, and contains all build dependencies, configured source trees (git clones in /usr/src), and binaries (make install) for Sugar 0.112 (Download from [http://people.sugarlabs.org/~quozl/sugar-live-build-20171009/ our server]).
| + | ! Equipment !! Operating System !! Recommendation |
| + | |- |
| + | | rowspan="2" | You have only one computer and don't want to erase it |
| + | | Linux, Windows, macOS, or iOS |
| + | | Install virtualisation software, make a new virtual machine and install [[Live Build|Sugar Live Build]], [[SoaS|Sugar on a Stick]], [[Ubuntu]], [[Fedora]], or [[Debian]]. |
| + | |- |
| + | | Linux |
| + | | Install Sugar packages from your distribution, see [[Ubuntu]], [[Fedora]] or [[Debian]]. For other distributions, contact your distribution community. |
| + | |- |
| + | | You have another computer that can be erased |
| + | | Doesn't matter |
| + | | Install [[Live Build|Sugar Live Build]], [[SoaS|Sugar on a Stick]], [[Ubuntu]], [[Fedora]], or [[Debian]]. |
| + | |} |
| + | |
| + | What's the difference between Live Build, Sugar on a Stick and the various Linux options? |
| + | |
| + | {| class="wikitable" |
| + | |- |
| + | ! !! Live Build (based on Debian) !! Sugar on a Stick (based on Fedora) !! Ubuntu, Debian or Fedora |
| + | |- |
| + | ! Sugar desktop user experience on startup |
| + | | yes, 0.112 || yes, 0.110 || no, must install packages |
| + | |- |
| + | ! Good for Sugar activity development |
| + | | yes || no, must install packages || no, must install packages |
| + | |- |
| + | ! Good for Sugar desktop module development |
| + | | yes, source code included || no, must install git and use rpmbuild || no, must install packages |
| + | |- |
| + | ! Works on a spare computer |
| + | | yes || yes || yes |
| + | |- |
| + | ! Works as a Virtual Machine |
| + | | yes || yes || yes |
| + | |- |
| + | ! Good for Sugarizer development |
| + | | colspan="3" | no, use your normal computer |
| + | |} |
| | | |
| See also [https://developer.sugarlabs.org/dev-environment.md.html Setup a development environment]. | | See also [https://developer.sugarlabs.org/dev-environment.md.html Setup a development environment]. |