Squeak 5.1 (32bit) – Installation on Ubuntu 17.04 (64bit) Beta1 GNOME

Ubuntu 17.04 Beta 1 is out

So let’s say  you would like to run the Squeak 5.1 (32bit) on Zesty Zapus Beta 1 (64bit). Specifically the GNOME variant from Ubuntu GNOME 17.04 Beta 1 (64bit).
You have booted up ubuntu-gnome-17.04-beta1-desktop-amd64.iso
and downloaded Squeak5.1-16549-32bit-All-in-One.zip.

What needs to be done to get it up and running?

Enable the 32bit architecture

sudo dpkg --add-architecture i386

Update the package information

sudo apt-get update

Unpack Squeak

Unpack the Squeak5.1-16549-32bit-All-in-One.zip archive.

Create a libs32.sh file

with the following contents

#!/bin/bash
objdump -p ./Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/lib/squeak/5.0-201608171728/* |
grep NEEDED|
awk '{print $2}'|
sort -u|
xargs dpkg -S|
awk '{print $1}'|
sort -u|
sed 's/:amd64:/:i386:/'|
sort -u|
sed 's/:$//'

Make the libs32.sh file executable:

chmod +x ./libs32.sh

Get a list of libraries that would need to be installed

./libs32.sh

See what libraries would need to be downloaded and installed

./libs32.sh | xargs sudo apt install

Download and install the required libraries

./libs32.sh | xargs sudo apt install -y

Run Squeak

sudo ./squeak.sh

 

Want to run without sudo?

./squeak.sh

try creating a

 /etc/security/limits.d/squeak.conf

file with the following contents

*       hard    rtprio  2
*       soft    rtprio  2

as explained here .

Then log out and in again or reboot.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s