Running Pharo on Ubuntu 14.04.1 LTS 64-bit

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Running Pharo on Ubuntu 14.04.1 LTS 64-bit

Sven Van Caekenberghe-2
Hi,

It seems some people are having trouble getting Pharo to work on Ubuntu 14.04.1 LTS 64-bit.

Here is one way to make things work.

Pharo (the VM) is a 32-bit executable dynamically linked to a number of libraries, each of which has to be present in its 32-bit variant in order to run Pharo and/or to use all features.

On a clean, stock, fully updated Ubuntu 14.04.1 LTS 64-bit, do the following (the X11, GL and asound libraries are not needed when you run headless on a server):

$ sudo apt-get install curl libc6:i386 libssl1.0.0:i386 libX11.6:i386 libGL.1:i386 libasound2:i386

$ curl get.pharo.org/40+vm | bash

$ ./pharo Pharo.image eval "ZnClient new get: 'https://google.com'"

$ ./pharo-ui Pharo.image

HTH,

Sven

PS: <Pro tip> You can use ldd to check if all dependencies of the VM and its plugins in the pharo-vm directory are satisfied

--
Sven Van Caekenberghe
Proudly supporting Pharo
http://pharo.org
http://association.pharo.org
http://consortium.pharo.org


Reply | Threaded
Open this post in threaded view
|

Re: Running Pharo on Ubuntu 14.04.1 LTS 64-bit

Mark Rizun
Hi, Sven!

Installed ubuntu (14.04 64bit) few days ago, and I had problems to install pharo. This scripts worked just fine. 
Many thanks to you.
Another thing is, I couldn't install pharo launcher.

Best,
Mark

2015-02-14 21:15 GMT+02:00 Sven Van Caekenberghe <[hidden email]>:
Hi,

It seems some people are having trouble getting Pharo to work on Ubuntu 14.04.1 LTS 64-bit.

Here is one way to make things work.

Pharo (the VM) is a 32-bit executable dynamically linked to a number of libraries, each of which has to be present in its 32-bit variant in order to run Pharo and/or to use all features.

On a clean, stock, fully updated Ubuntu 14.04.1 LTS 64-bit, do the following (the X11, GL and asound libraries are not needed when you run headless on a server):

$ sudo apt-get install curl libc6:i386 libssl1.0.0:i386 libX11.6:i386 libGL.1:i386 libasound2:i386

$ curl get.pharo.org/40+vm | bash

$ ./pharo Pharo.image eval "ZnClient new get: 'https://google.com'"

$ ./pharo-ui Pharo.image

HTH,

Sven

PS: <Pro tip> You can use ldd to check if all dependencies of the VM and its plugins in the pharo-vm directory are satisfied

--
Sven Van Caekenberghe
Proudly supporting Pharo
http://pharo.org
http://association.pharo.org
http://consortium.pharo.org