Download for Unix
Last updated at 7:41 pm UTC on 13 May 2007
Ian Piumarta made the initial port of Squeak to Unix and he distributes his version at http://squeakvm.org/unix/.
Another resources is Getting source using the SubVersion repository.
After a while the current stable releases are also made available at the Squeak ftp site or its mirrors, under the [latest version]/unix-linux directory: ftp://st.cs.uiuc.edu/Smalltalk/Squeak/
Sound
The VM supports sound through various mechanisms. See Sound support for Unix.
Full Distributions
RedHat
There are RPM's available on Ian's web site, above.
Debian
See the Squeak for Debian Users page.
Gentoo
Squeak is included in the distribution. Just emerge it and go.
FreeBSD
Ditto. "cd /usr/ports/lang/squeak; make install distclean".
Ubuntu
- Use the Synaptic Package Manager.
- In the repositories list check "Multiverse"
- Update list
- Search for "squeak"
- Mark the squeak related entries for installation
- Click "Apply"
Other Stuff
Startup Script
Want to set up your system so that typing "squeak" after a new installation just works? Want to do "inisqueak" but to use a different .changes file name than squeak.image? See Squeak Startup Script from Debian.
File Entry
Here is a /usr/lib/magic (or /usr/share/magic) entry for the file tool:
0 string \146\031\0\0 Squeak image data
0 string 'From\040Squeak Squeak program text
CSH integration
Bert Freudenberg contributed a completion pattern for csh users:
complete ☆queak☆ \
'c/-/(xshm xasync notitle fullscreen lazy version help display memory)/' \
'n/-memory/(16m 32m 64m)/' \
'n/-display/x:(display)/' \
'p/☆/f:☆.image/'
Problems and Solutions under Unix
If you are having trouble running Squeak in a Unix environment, you might try the following:
- Make sure both your image and changes file are writable as well as readable. The sources and executable file may be safely readonly.
- If you are having trouble with line endings, check out CrLfFileStream or TextFile. It will allow your text files to have Unix-style line endings, while appearing to Squeak to have Squeak-style line endings.
- If you run Squeak remotely a lot over less than a 100MBs ethernet connection, you should check out alternatives which are much faster. Options are VNC and Download for Unix.
- If you are running a PWS or Comanche server, then 64 file descriptors is not enough. "ulimit -n" will let you query the current value, and "ulimit -SHn 1024" will let you change it to 1024. People with csh-style shells will need to use "limit" insteod of "ulimit", with similar arguments.
problems on rpm install?
squeak]# ls
npsqueak-image-3.2-4913.tar.gz Squeak3.6a-5325.image
Squeak-3.2-5.i686-pc-linux-gnu.tar Squeak3.6a-5325.zip
Squeak-3.4-5170.noarch.rpm Squeak-vm-3.4-1.i386.rpm
Squeak3.6a-5325.changes
root@localhost squeak]# rpm -ivh Squeak-vm-3.4-1.i386.rpm
error: Failed dependencies:
libX11.so is needed by Squeak-vm-3.4-1
libXext.so is needed by Squeak-vm-3.4-1
libm.so is needed by Squeak-vm-3.4-1
so I installed the other rpm
root@localhost squeak]# rpm -ivh Squeak-3.4-5170.noarch.rpm
error: Failed dependencies:
Squeak-sources = 3 is needed by Squeak-3.4-5170
Squeak-vm >= 3.4 is needed by Squeak-3.4-5170
now what? I tried the zip files with the 3.6 alpha but there were no instructions on how to install the .image file.
You should contact Ian Piumarta for problems like this. However, it looks like you have severe problems with your setup. What version of RedHat are you using? libX11.so is certainly needed by the vm package!! -Lex Spoon, July 5, 2003
Running rpm with the option –no-deps appended to the command line seems to fix the problem with that rpm. -Rickard Schoultz, September 30, 2003
Links
http://squeakvm.org/squeak64/ has info on a new cleaned-up VM which can support 64-bit images.