Download Pharo for GNU/Linux: 32bit version

Package for common distributions

Packages are available for some common linux distributions The binary names are picked to allow to install the 32bit and 64bit VM in parallel:

  • pharo6-32 (32bit version)
  • pharo6-64 (64bit version)
  • pharo6-32-ui (32bit version with X11 dependencies)
  • pharo6-64-ui (64bit version with X11 dependencies)

CentOS 6.8:

(The yum-utils package must be installed)

# Add the repo 
$ yum-config-manager --add-repo http://download.opensuse.org/repositories/devel:/languages:/pharo:/stable/CentOS_6/devel:languages:pharo:stable.repo

# Install 32bit packages (with X11 dependency for *-ui or not) 
$ yum install pharo6-32-ui.i686 or pharo6-32.i386 

# Install 64bit packages 
$ yum install pharo6-64-ui.x86_64 pharo6-64.x86_64 

CentOS 7 (only 64bit):

(The yum-utils package must be installed)

$ yum-config-manager --add-repo http://download.opensuse.org/repositories/devel:/languages:/pharo:/stable/CentOS_7/devel:languages:pharo:stable.repo
$ yum install pharo6-64-ui.x86_64 pharo6-64.x86_64 

Debian 8:

# Add signing key 
$ wget -O - http://download.opensuse.org/repositories/devel:/languages:/pharo:/stable/Debian_8.0/Release.key | apt-key add - 

#add repository
echo "deb http://download.opensuse.org/repositories/devel:/languages:/pharo:/stable/Debian_8.0/ ./" > /etc/apt/sources.list.d/pharo.list 

# Update and install 
$ apt update 
$ apt install pharo6-32-ui pharo6-64-ui    (or pharo6-32 or pharo6-64) 

Ubuntu 14.04 LTS

# Add signing key 
$ wget -O - http://download.opensuse.org/repositories/devel:/languages:/pharo:/stable/xUbuntu_14.04/Release.key | apt-key add - 

#add repository
echo "deb http://download.opensuse.org/repositories/devel:/languages:/pharo:/stable/xUbuntu_14.04/ ./" > /etc/apt/sources.list.d/pharo.list 

# Update and install 
$ apt update 
$ apt install pharo6-32-ui pharo6-64-ui 

Ubuntu 16.04

# Add signing key 
$ wget -O - http://download.opensuse.org/repositories/devel:/languages:/pharo:/stable/xUbuntu_16.04/Release.key | apt-key add - 

#add repository
echo "deb http://download.opensuse.org/repositories/devel:/languages:/pharo:/stable/xUbuntu_16.04/ ./" > /etc/apt/sources.list.d/pharo.list 

# Update and install 
$ apt update 
$ apt install pharo6-32-ui pharo6-64-ui 

Prepare 64-bit-Linux for 32bit Pharo

If you do not install with the package manager, running 32bit Pharo on 64bit Linux requires some setup work.

A 64-bit binary is available, which might be the better option.

Once your system is set up, you can use the zip file download or ZeroConf. While we obviously can't provide instructions for every version of every distribution, below we list some of the most common cases. If you encounter a problem not addressed below, ask for help on our very friendly user mailing list

The following is known to work in Debian (most recently tested in 7.8 wheezy) and older Ubuntu (e.g. 12.04) systems.

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install ia32-libs

The installation in Debian 8 Jessie 64bits and Ubuntu 14.04 and Later require some operations.

 sudo dpkg --add-architecture i386 
 sudo apt-get update 
 sudo apt-get install libx11-6:i386 
 sudo apt-get install libgl1-mesa-glx:i386 
 sudo apt-get install libfontconfig1:i386 
 sudo apt-get install libssl1.0.0:i386 

Fedora:

sudo dnf install -y mesa-libGL-devel.i686 mesa-libGLU-devel.i686 libgcc.i686 freetype.i686 cairo.i686

Zip file

Version 6.1 for several common GNU/Linux configurations. The zip files contain everything necessary. Just download and run the executable.

ZeroConf

Just because Pharo developers are addicted to our live, dynamic IDE does not mean that we do not value automatic scripts and love the command line! Zeroconf scripts automatically download everything you need to get started. It will recognize your platform and load the appropriate VM version. - Adapted from the Deep Into Pharo book.

curl https://get.pharo.org | bash
# or if curl is not available:
wget -O- https://get.pharo.org | bash

Have a look at the Zeroconf Website for more information.

Build from Source

You can always build the VM from the sources. Feel free to ask questions on the users mailing list.