Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Squeak for Debian Users
Last updated at 2:28 pm UTC on 22 May 2012
There is also a Squeak for Ubuntu Users page. wiz

There is an apt repository of Debian packages of Squeak. To use it, add the following lines to your /etc/apt/sources.list (x is one of stable, testing, or unstable):
  deb http://ftp.squeak.org/debian/ x main
  deb-src http://ftp.squeak.org/debian/ x main
The single repository provided covers all the three Debian versions. The packages are tested against the stable versions but the same packages should work also on testing and unstable.

After you've added the squeak repositories to your /etc/apt/sources.list file, run apt-get update or apttitude update:
  $ sudo apt-get update
  Get:1 ftp://debian.lcs.mit.edu testing Release.gpg [197B]
  [blah blah blah]
  Get:14 http://ftp.squeak.org testing/main Packages [3233B]
  Get:15 http://ftp.squeak.org testing/main Sources [2888B]
  [blah blah blah]
  Fetched 268kB in 3min54s (1141B/s)
  Reading package lists... Done

  $ 

You should now be able to list the available packages

Someone should update this. The only package that can be found now is "squeak-vm". No "squeak", "squeak-plugin", "squeak-image", "squeak-sources", etc.

  $ date
  Tue May 22 10:22:58 EDT 2012

  $ apt-cache search squeak
  squeak-plugins-scratch - Squeak plugins for the Scratch programming environment
  squeak-plugins-scratch-dbg - Squeak plugins for the Scratch programming environment - debug
  squeak-vm - The Squeak Smalltalk System (virtual machine)
  squeak-plugin - plugin for running Squeak in a web browser
  seaside - A framework for developing sophisticated web applications in Smalltalk
  squeak - front-end script for Squeak
  squeak-image1 - The Squeak Smalltalk System (image and changes file)
  squeak-image2.8 - The Squeak Smalltalk System (image and changes file)
  squeak-image3.0 - The Squeak Smalltalk System (image and changes file)
  squeak-image3.10 - The Squeak Smalltalk System (image and changes file)
  squeak-image3.4 - The Squeak Smalltalk System (image and changes file)
  squeak-image3.5 - The Squeak Smalltalk System (image and changes file)
  squeak-image3.6 - The Squeak Smalltalk System (image and changes file)
  squeak-image3.6basic - The Squeak Smalltalk System (image and changes file)
  squeak-image3.7 - The Squeak Smalltalk System (image and changes file)
  squeak-image3.7basic - The Squeak Smalltalk System (image and changes file)
  squeak-image3.7univ - The Squeak Smalltalk System (image and changes file)
  squeak-image3.8 - The Squeak Smalltalk System (image and changes file)
  squeak-image3.9 - The Squeak Smalltalk System (image and changes file)
  squeak-image3.9univ - The Squeak Smalltalk System (image and changes file)
  squeak-plugin-image - The Squeak Smalltalk System (image and changes file)
  squeak-sources1 - The Squeak Smalltalk System (sources file)
  squeak-sources2 - The Squeak Smalltalk System (sources file)
  squeak-sources3 - The Squeak Smalltalk System (sources file)
  squeak-sources3.9 - The Squeak Smalltalk System (sources file)

  $ 
and install the packages of interest.

Squeak

Squeak (as a stand-alone application as well as the web browser plugin) can be installed as follows:
  $ sudo aptitude update
  $ sudo aptitude install squeak squeak-plugin
By default, the last stable version of the Squeak image will be installed (at present 3.9).

You can test newly installed Squeak pluginhere. When you try to use it for the first time, it will ask you if it should update the image. It will take a while. Then, press the refresh button. You should see appropriate Squeak project within your browser.

To run Squeak once the packages are installed, just use the Debian desktop menu, under Apps/Programming/Squeak. Or, run squeak from a command line. See man squeak for more details.

Squeak image files act as executables

Linux supports a mechanism to register arbitrary files as executable, so that exec(2) will invoke the appropriate interpreter. During installation, we properly register squeak images and you can thus execute them "directly":
  $ ./squeak.image

Seaside

You can install this way:
  $ sudo aptitude install seaside
You can run it as follows:
  $ seaside
See man seaside for more details.

Maintainer

At present, the repository is maintained by Matej Kosik.
It was originally created and maintained by Lex Spoon.

Other Images


If you want to use a Squeak image than is not available in the repository, you certainly can. Simply download the image separately from the ftp site.

Multiple Images

You can install multiple "squeak-image" packages. To make the startup script pick a particular image by default, run
  $ update-alternatives --config squeak.image.gz
There is a GUI frontend called galternatives which makes switching among multiple alternatives easy.

A NAME="source"

Source code for the published binary packages

You can get source code for the binary packages in a usual way. For example:
htmlpreapt-get source squeak/pre/html


Related information


TODO