Thanks Doru.
Damien: I updated the README.txt with the Doru's experience. I just add:
"You may have an error saying that it did not find any "ia32-libs" package.
In that case, you can try:
sudo apt-get update"
I attach the new version of the README.txt. Would you mind putting it in the
next LinuxVM zip of the website download?
Best,
Mariano
On Mon, Nov 2, 2009 at 9:39 AM, Tudor Girba <[email protected]> wrote:
> Indeed, I realized afterwards that this might be a problem.
>
> However, I tried to install the 32 compatibility library as said in
> the README.txt, but it did not work because it did not find any "ia32-
> libs". I then tried
> sudo apt-get update
>
> and it managed to load ia32-libs.
>
> It now seems to run something :)
>
> Thanks,
> Doru
>
>
> On 2 Nov 2009, at 13:11, Henrik Johansen wrote:
>
> > If you're on 64-bit linux, I think that's what I got when I tried to
> > execute a 32bit VM once.
> > The README.txt contains info on what to do in that case, iirc.
> >
> > Cheers,
> > Henry
> >
> >
> > On Nov 2, 2009, at 12:44 36PM, Tudor Girba wrote:
> >
> >> Hi again,
> >>
> >> I downloaded the pharo-vm-0.15.2d-linux, unzipped it, but when I try
> >> to launch the squeak executable (both alone and with an image as
> >> parameter) it tells me: No such file or directory
> >>
> >> This is a bit strange because the squeak executable is there and with
> >> the correct rights:
> >> -rwxr-xr-x 1 root root 597660 Apr 8 2009 squeak
> >>
> >> Does anybody have any idea about what the problem could be?
> >>
> >> Cheers,
> >> Doru
> >>
> >>
> >> On 1 Nov 2009, at 20:02, Tudor Girba wrote:
> >>
> >>> Thanks a lot for the extensive replies :)
> >>>
> >>> Cheers,
> >>> Doru
> >>>
> >>>
> >>> On 31 Oct 2009, at 18:07, Mariano Martinez Peck wrote:
> >>>
> >>>>
> >>>>
> >>>> On Sat, Oct 31, 2009 at 1:46 PM, Stéphane Ducasse <
> [email protected]
> >>>>> wrote:
> >>>> mariano
> >>>>
> >>>> can you check and edit the wiki to have such information clearly
> >>>> stated and visible?
> >>>>
> >>>>
> >>>> I forgot to said that most of this information (and more) is
> >>>> explained in the README.txt file.
> >>>>
> >>>> cheers
> >>>>
> >>>> Stef
> >>>> On Oct 31, 2009, at 5:44 PM, Mariano Martinez Peck wrote:
> >>>>
> >>>>> Hi Doru: In a wonderful world, you would have latest PharoVM in
> >>>>> the
> >>>>> Ubuntu repositories and for all Ubuntu verions. In the real world,
> >>>>> this is not done. The squeak or Pharo VM that usually are at the
> >>>>> repositories are old and not for all Ubuntu versions. Thus, I
> >>>>> think
> >>>>> the easiest way to install it, is this (as Dale said):
> >>>>>
> >>>>> 1) Download the VM from here
> http://gforge.inria.fr/frs/download.php/22745/pharo-vm-0.15.2d-linux.zip
> >>>>> 2) Unzip it somewhere.
> >>>>> 3) And then you can just execute VM. Suppose you uncompress the
> >>>>> zip
> >>>>> in /home/doru/pharoVM/pharo-vm-0.15.2d-linux/
> >>>>> Then you can open a terminal an do /home/doru/pharoVM/pharo-
> >>>>> vm-0.15.2d-linux/squeak /home/doru/pharo-images/myxxximage.image
> >>>>>
> >>>>> Now I notice that it would be better if the executable file is
> >>>>> called pharo instead of squeak
> >>>>>
> >>>>> That's all.
> >>>>>
> >>>>> Best
> >>>>>
> >>>>> Mariano
> >>>>>
> >>>>> On Sat, Oct 31, 2009 at 9:09 AM, Tudor Girba
> >>>> <[email protected]>
> >>>>> wrote:
> >>>>> Hi,
> >>>>>
> >>>>> What is the preferred way to install a Pharo vm on Ubuntu?
> >>>>>
> >>>>> Cheers,
> >>>>> Doru
> >>>>>
> >>>>>
> >>>>> --
> >>>>> www.tudorgirba.com
> >>>>>
> >>>>> "From an abstract enough point of view, any two things are
> >>>> similar."
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> Pharo-project mailing list
> >>>>> [email protected]
> >>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-
> >>>>> project
> >>>>>
> >>>>> _______________________________________________
> >>>>> Pharo-project mailing list
> >>>>> [email protected]
> >>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-
> >>>>> project
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> Pharo-project mailing list
> >>>> [email protected]
> >>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >>>>
> >>>> _______________________________________________
> >>>> Pharo-project mailing list
> >>>> [email protected]
> >>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >>>
> >>> --
> >>> www.tudorgirba.com
> >>>
> >>> "One cannot do more than one can do."
> >>>
> >>>
> >>>
> >>
> >> --
> >> www.tudorgirba.com
> >>
> >> "Be rather willing to give than demanding to get."
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> Pharo-project mailing list
> >> [email protected]
> >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >>
> >
> >
> > _______________________________________________
> > Pharo-project mailing list
> > [email protected]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> --
> www.tudorgirba.com
>
> "Yesterday is a fact.
> Tomorrow is a possibility.
> Today is a challenge."
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
This directory contains a pre-built Pharo Virtual Machine (VM). So it
should not be necessary to build your own VM in order to use this
software.
If you have a 64-bit Linux kernel, you have to install the 32-bit
compatibility library. For example, in Ubuntu you have to install
ia32-libs:
$ sudo aptitude install ia32-libs
You may have an error saying that it did not find any "ia32-libs" package.
In that case, you can try:
sudo apt-get update
and then you will manage to load ia32-libs.
Here are several ways to get started in Pharo on your GNU/Linux or BSD
machine:
Running from your file manager
------------------------------
You have to associate the extension .image with the squeak
executable. The detailed process depends on which file manager you
use. Here are global indications:
1) Run your file manager.
2) Navigate to the directory where your pharo image is located.
3) Right-click on the .image file to open a menu.
4) Select "Open with other application..." from the menu or something
similar
5) Type in squeak with the full pathname (for example:
"/usr/local/bin/squeak") or select "Browse"
6) Validate
From this point on, you can run your image by clicking on it.
Running through the command line
--------------------------------
First you must unzip the file. Go to the folder where you download the
zip (suppose /path/to/)
$ cd /path/to/
$ unzip pharo-vm-XXX-linux.zip
$ cd directory/with/the/image
$ /path/to/squeak image_filename.image
You can also add the squeak executable to your path:
$ cd /usr/local/bin
$ sudo ln -sf /path/to/squeak
and then
$ cd directory/with/the/image
$ squeak image_filename.image
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project