Difference between revisions of "Debian"

From Sugar Labs
Jump to navigation Jump to search
(possibility that log in may be non-root, harmless if already root)
(40 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<noinclude>[[Category:Supported systems]]</noinclude>
 
<noinclude>[[Category:Supported systems]]</noinclude>
<span class="weblink">[[File:Debian.jpg|link=https://wiki.debian.org/Sugar]]</span>
+
[[File:Debian.jpg]]
  
Current "stable" [http://www.debian.org/releases/squeeze/releasenotes squeeze release notes]
+
:''Debian is a free operating system (OS) for your computer. An operating system is the set of basic programs and utilities that make your computer run.'' -- [https://www.debian.org/ debian.org]
  
The Debian wiki has a specific page for Sugar at [https://wiki.debian.org/Sugar '''Debian install Sugar''']
+
In relation to Sugar, Debian is a downstream distribution project that can be used to run Sugar.
  
The Debian installer will install Debian to a hard drive, where Sugar has been tested to run well on Squeeze.
+
== Using Sugar 0.110 on Debian ==
  
Sugar versions 0.84, 0.86. and 0.88 are offered on Squeeze.
+
Sugar 0.110 is available in Debian ''Stretch'':
  
Sucrose packages are usually updated in the unstable repository. These packages migrate to the testing repository after a while. You can see the current package versions [http://packages.debian.org/search?keywords=sugar&searchon=names&suite=all&section=all here].
+
* install Debian ''Stretch'' in the usual way, see [https://www.debian.org/ debian.org], and [https://www.debian.org/releases/stretch/debian-installer/ debian-installer],
 +
* when asked mid-way through install what to include, deselect all,
 +
* when the install has completed, log in, install Sugar, a display manager, and reboot,
 +
sudo apt install sucrose lightdm
 +
exec sudo reboot
 +
* in the graphical login screen, change from the default X session to Sugar,
 +
* log in as your non-root user, created during install.
  
If you want up-to-the-minute freshness (and brokenness), you can use [[Development Team/Jhbuild|jhbuild]] to build from source instead of using the released packages.
+
Known bugs include;
 +
* [https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848841 848841] journal view multiple select does not show actions toolbar,
 +
* Browse busy cursor may get stuck on.
  
For virtulalization and emulation see also [[Emulator image files]].
+
== Pre-built Images ==
  
''See also the Debian Edu product'' [[Skolelinux]]
+
There are few pre-built Debian images for Sugar, and the tools available in Debian make this easy for any integration or deployment team. There's no need for us to duplicate documentation here.
====[http://www.debian.org/distrib/packages Debian Packages]====
 
"All packages that are included in the official Debian distribution are free...."
 
====[http://live.debian.net/manual/current/index.en.html Debian Live Manual]====
 
:http://live.debian.net/manual/current/index.en.html
 
====[http://pointlinux.org/index.html Debian Fork of Mate]====
 
:Point Linux is a GNU/Linux distribution that aims to combine the power of Debian GNU/Linux with the productivity of MATE, the Gnome 2 desktop environment fork.
 
=====Download=====
 
*http://pointlinux.org/index.html
 
  
== Notes on install to USB disk ==
+
See also https://wiki.debian.org/SugarBlend for one method and an image.
  
*[http://cdimage.debian.org/cdimage/ Main cdimage Downloads Debian]  
+
See also [[Debian/Raspberry Pi]] for the Raspberry Pi, a [[GSoC]] work in progress, based on an image builder [https://github.com/drtyhlpr/rpi23-gen-image.git|rpi23-gen-image].
:[http://www.debian.org/devel/debian-installer/ '''debian-installer''']
 
:[http://cdimage.debian.org/cdimage/release/current-live/i386/iso-hybrid/debian-live-6.0.2-i386-gnome-desktop.iso download squeeze_live-i386-iso-hybrid]
 
:[http://blog.einval.com/2011/01/07#isohybrid_CDs isohybrid_CD info]
 
*[http://wiki.debian.org/InstallToUsbMemoryStick InstallToUsbMemoryStick]
 
'''example:'''
 
dd if=debian-xxxxxxxx.iso of=/dev/sdX
 
  
== Install Sugar via Synaptic ==
+
== Packaging ==
:[http://cdimage.debian.org/cdimage/release/current-live/i386/iso-hybrid/debian-live-6.0.2-i386-gnome-desktop.iso download squeeze_live-i386-iso-hybrid]
 
  
Install to HD
+
Packaging of Sugar on Debian is done by a team:
Reboot
+
* [https://alioth.debian.org/projects/pkg-sugar/ pkg-sugar project],
start Synaptic
+
* [https://lists.alioth.debian.org/mailman/listinfo/pkg-sugar-devel pkg-sugar-devel mailing list],
Repositories select all 3
+
* [https://lists.alioth.debian.org/mailman/listinfo/pkg-sugar-commit pkg-sugar-commit mailing list],
select Server for USA
+
* [https://anonscm.debian.org/cgit/pkg-sugar/ pkg-sugar git repositories],
click all 3 boxes
+
* [http://debian.jones.dk/pkg/sugar_/ package archive of Jonas Smedegaard],
Third Party Software
 
  <nowiki>http://......</nowiki>
 
reload
 
search for "sugar"
 
click on all 0.88 sugar packages
 
apply
 
[[Emulator/Full Screen|how to configure full screen]]
 
Browse Activities  (Download the activities you want)
 
  
 +
Sucrose packages are usually updated in the unstable release. These packages migrate to the testing release after a while. You can see the current package versions [http://packages.debian.org/search?keywords=sugar&searchon=names&suite=all&section=all here].
  
== Fixing dependencies in Wheezy ==
+
Those interested in developing Sugar software should visit our [http://developer.sugarlabs.org/ developer documentation website].
This article descibes the process to compile Sugar on Debian testing Wheezy, in order to install sugar-jhbuild.
 
  
http://humitos.wordpress.com/2012/03/19/compile-sugar-on-debian-testing-wheezy
+
== Derivatives ==
  
== GTK3 in Debian Wheezy ==
+
Derivatives of Debian include:
(From http://www.mail-archive.com/sugar-devel@lists.sugarlabs.org/msg26211.html)
+
* [[Ubuntu]],
 +
* [[Raspbian]] for the Raspberry Pi.
  
On Tue, Apr 24, 2012 at 17:45, Manuel Kaufmann <humitos@gmail.com> wrote:
+
== See Also ==
> Do you have a clue about this?
 
  
This was my workaround to this problem:
+
* [https://wiki.debian.org/Sugar Sugar page on the Debian Wiki],
 
+
* the Debian Edu product [[Skolelinux]]
1. /etc/apt/sources.list
 
 
 
  deb ftp://ftp.us.debian.org/debian/ unstable main contrib non-free
 
  deb-src ftp://ftp.us.debian.org/debian/ unstable main contrib non-free
 
 
 
2. update the package database
 
 
 
  sudo apt-get update
 
 
 
3. download the source code
 
 
 
  cd /tmp
 
  mkdir pygobject
 
  apt-get source python-gi
 
 
 
4. install dependecies
 
 
 
  sudo apt-get build-dep python-gi
 
  sudo apt-get install python-gobject-2-dbg
 
 
 
5. compile python-gi
 
 
 
  cd pygobject-3.2.0
 
  wget -c http://mkaufmann.com.ar/~humitos/olpc/pygi-d37680bb9390426f7f58ea3d352c3e5e2106e978_modified.patch
 
  git apply pygi-d37680bb9390426f7f58ea3d352c3e5e2106e978_modified.patch
 
  dpkg-buildpackage -rfakeroot -b
 
 
 
6. install compiled packages
 
 
 
  sudo dpkg -i ../*.deb
 
 
 
Now, when I run "./sugar-jhbuild run sugar-emulator" I can see the
 
icons and the toolbar properly.
 
== Testing ==
 
Where Debian is installed via the Debian installer or virtual machine, Sugar has been reported to run nicely.
 
:Sugar 0.88.0 works nicely in Debian squeeze.
 
Low footprint versions (eg no Gnome Display Manager) with SLiM and Openbox only, are reported [[User:Inkyfingers/Debian | in this link]] to cause a problem.
 

Revision as of 20:33, 25 June 2017

Debian.jpg

Debian is a free operating system (OS) for your computer. An operating system is the set of basic programs and utilities that make your computer run. -- debian.org

In relation to Sugar, Debian is a downstream distribution project that can be used to run Sugar.

Using Sugar 0.110 on Debian

Sugar 0.110 is available in Debian Stretch:

  • install Debian Stretch in the usual way, see debian.org, and debian-installer,
  • when asked mid-way through install what to include, deselect all,
  • when the install has completed, log in, install Sugar, a display manager, and reboot,
sudo apt install sucrose lightdm
exec sudo reboot
  • in the graphical login screen, change from the default X session to Sugar,
  • log in as your non-root user, created during install.

Known bugs include;

  • 848841 journal view multiple select does not show actions toolbar,
  • Browse busy cursor may get stuck on.

Pre-built Images

There are few pre-built Debian images for Sugar, and the tools available in Debian make this easy for any integration or deployment team. There's no need for us to duplicate documentation here.

See also https://wiki.debian.org/SugarBlend for one method and an image.

See also Debian/Raspberry Pi for the Raspberry Pi, a GSoC work in progress, based on an image builder [1].

Packaging

Packaging of Sugar on Debian is done by a team:

Sucrose packages are usually updated in the unstable release. These packages migrate to the testing release after a while. You can see the current package versions here.

Those interested in developing Sugar software should visit our developer documentation website.

Derivatives

Derivatives of Debian include:

See Also