Squeak 5.0 – Installation on 64bit Ubuntu 16.04

Want to run 32bit Squeak 5.0 on a fresh install of 64bit Ubuntu 16.04?

You need to install 32bit libraries like this:

In the directory where you unzipped the Squeak5.0-15120-32bit-All-in-One.zip archive, and that contains the squeak.sh file, put the following into a file named libs32.sh :

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

Make that file executable:

chmod +x ./libs32.sh

Run it:

./libs32.sh

You will get a list of libraries that need to be installed.

Run

./libs32.sh | xargs sudo apt install

to see what would be installed.

Run

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

to install it.

Run

./squeak.sh

to start Squeak 5.0.

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