Installing Squeak: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (categorization)
(categorization, wikified & notes on Squeak)
Line 1: Line 1:
<b>Note:</b> The desciption below will get you the system-developer's version of Squeak. On the laptop there is a special Squeak distribution derived from [http://squeakland.org squeakland.org]. See [[Etoys]] for information on the actual OLPC version. --[[User:Bert|Bert]]
<b>Note:</b> The desciption below will get you the system-developer's version of [[Squeak]]. On the laptop there is a special [[Squeak]] distribution derived from [http://squeakland.org squeakland.org]. See [[Etoys]] for information on the actual OLPC version. --[[User:Bert|Bert]]


===Download files===
===Download files===

On the [http://www.squeak.org/Download/ Squeak download page], click the appropriate link to download the virtual machine and image for your computer and operating system.
On the [http://www.squeak.org/Download/ Squeak download page], click the appropriate link to download the virtual machine and image for your computer and operating system.


Line 12: Line 13:
to install the virtual machine.
to install the virtual machine.


Choose or create a directory to run squeak in, and run
Choose or create a directory to run [[Squeak]] in, and run


inisqueak
inisqueak
Line 21: Line 22:


OR copy the image file, the changes file and the sources file to your working directory, and change their names to squeak.image, squeak.change, and squeak.sources. (I don't yet know if this last is necessary. Anybody?)
OR copy the image file, the changes file and the sources file to your working directory, and change their names to squeak.image, squeak.change, and squeak.sources. (I don't yet know if this last is necessary. Anybody?)

:I'm a bit rusty on but I'll try to help here. Notwithstanding, I '''strongly''' recommend reading some material probably starting either at [http://www.whysmalltalk.com/tutorials/squeak.htm Why Smalltalk's Squeak Tutorials] page, or the [http://wiki.squeak.org/squeak/792 hectic Squeak.org wiki] (or try a [http://www.google.com/search?client=opera&rls=en&q=introduction+squeak+tutorial&sourceid=opera&ie=utf-8&oe=utf-8 Google search])
:[[Squeak]], as a direct descendant of [[Smalltalk]]-80, manages those three files as following:
:;<tt>.image</tt>:is the file where the ''snapshot'' of the objects are stored / serialized.
:;<tt>.change</tt>:is where all the changes done by the user (method editions, sending messages (manually) to objects, etc.) is stored. That's the reason why it's '''''crucial''''' to keep both the <tt>.image</tt> & <tt>.change</tt> files '''together''' at all times.
:;<tt>.sources</tt>:is where the method's sources are kept - but only the 'original' source - once you change a base method, it's source will be stored in <tt>.change</tt>&mdash;so if your paths are correct, this file doesn't need to be copied.
:Finally, you can do a ''Save As'' from within to create ad-hoc copies of the pair <tt>.image</tt> & <tt>.change</tt> and remain consistant.
:Any questions, please ask. --[[User:Xavi|Xavi]] 19:37, 20 January 2007 (EST)


Run
Run
Line 26: Line 35:
squeak
squeak


and you get an amazingly rich but underdocumented graphical programming environement. If OLPC wants a proper manual for all of this, I'm an experienced Tech Writer with lots of API and other programming documentation experience who learned Smalltalk from the books when they first came out, and I'm available.--[[User:Mokurai|Mokurai]] 05:36, 12 October 2006 (EDT)
and you get an amazingly rich but underdocumented graphical programming environement. If OLPC wants a proper manual for all of this, I'm an experienced Tech Writer with lots of API and other programming documentation experience who learned [[Smalltalk]] from the books when they first came out, and I'm available.--[[User:Mokurai|Mokurai]] 05:36, 12 October 2006 (EDT)


[[Category:Software development]]
[[Category:Software development]]
[[Category:Etoys]]
[[Category:Developers]]
[[Category:Developers]]

Revision as of 00:37, 21 January 2007

Note: The desciption below will get you the system-developer's version of Squeak. On the laptop there is a special Squeak distribution derived from squeakland.org. See Etoys for information on the actual OLPC version. --Bert

Download files

On the Squeak download page, click the appropriate link to download the virtual machine and image for your computer and operating system.

Untar the file into a directory.

Go into the directory and run

sh ./INSTALL

to install the virtual machine.

Choose or create a directory to run Squeak in, and run

inisqueak

there to create your personal image file.

(I haven't found the inisqueak script, so I hope someone will edit this.)

OR copy the image file, the changes file and the sources file to your working directory, and change their names to squeak.image, squeak.change, and squeak.sources. (I don't yet know if this last is necessary. Anybody?)

I'm a bit rusty on but I'll try to help here. Notwithstanding, I strongly recommend reading some material probably starting either at Why Smalltalk's Squeak Tutorials page, or the hectic Squeak.org wiki (or try a Google search)
Squeak, as a direct descendant of Smalltalk-80, manages those three files as following:
.image
is the file where the snapshot of the objects are stored / serialized.
.change
is where all the changes done by the user (method editions, sending messages (manually) to objects, etc.) is stored. That's the reason why it's crucial to keep both the .image & .change files together at all times.
.sources
is where the method's sources are kept - but only the 'original' source - once you change a base method, it's source will be stored in .change—so if your paths are correct, this file doesn't need to be copied.
Finally, you can do a Save As from within to create ad-hoc copies of the pair .image & .change and remain consistant.
Any questions, please ask. --Xavi 19:37, 20 January 2007 (EST)

Run

squeak

and you get an amazingly rich but underdocumented graphical programming environement. If OLPC wants a proper manual for all of this, I'm an experienced Tech Writer with lots of API and other programming documentation experience who learned Smalltalk from the books when they first came out, and I'm available.--Mokurai 05:36, 12 October 2006 (EDT)