[Sugar-devel] Porting task - Can we use Mac OS and Virtual Box ?
James Cameron
quozl at laptop.org
Wed Dec 18 14:43:32 EST 2019
G'day,
Thanks for asking. Your scenario is familiar. Yes, in your situation
you must use a virtualisation software, such as Parallels, vmWare, or
VirtualBox.
Then, for our Port to Python 3 tasks, the only viable choice is to
install our Sugar Live Build into a virtual machine.
You can iterate through this until comfortable;
1. install the first or next virtualisation software; most of us
would use VirtualBox, but there are other choices,
2. create a virtual machine, connect the virtual CD drive to the
ISO9660 image of Sugar Live Build, and start the virtual machine,
3. at the prompt, select the default, and this will run the guest
operating system in a way that does not make any permanent change to
the virtual machine disk; then test the features of Sugar as you will
find in our documentation https://help.sugarlabs.org/ ... when this is
complete just turn off the virtual machine.
4. start the virtual machine again with the Sugar Live Build image,
and this time select an installation option, then go through the
guided installation process, and when it is complete eject the virtual
CD and reboot; this will run the guest operating system from a virtual
disk, and any changes you make are kept. To restart this step, you
can just turn off the virtual machine.
5. install an integrated development environment on your macOS
system, one that supports Python and editing over SSH. (I don't have
any specific recommendations, and can't suggest you use what I use,
because of the extra knowledge required to use it. emacs and magit.)
6. set up inbound SSH on the virtual machine, e.g. sudo apt install
openssh-server,
7. connect from a macOS Terminal to the virtual machine using SSH, to
test, and for any system administration,
8. clone sources on the virtual machine using git, test the activity
on the virtual machine, then edit the sources over SSH using your IDE,
test the modified activity on the virtual machine, and commit the
changes, etc, as per the usual GitHub workflow.
Hope that helps!
On Wed, Dec 18, 2019 at 05:48:44PM +0530, Abhay Malik wrote:
> Hey,
> After quite some time, I found out sugar runs on a different operating system fedora, initially to run on my Mac book air I used virtual box to run sugar desktop. I am successfully able to run sugar on a stick on my Mac.
>
> I asked my mom wether I can install fedora on my Mac but she said I can't :(
>
> Also It looks hard to install a different OS.
>
> Is there any other specific way of trying out a sugar activity from a code locally on my Mac machine using Mac OS and virtual box?
>
>
> Thanks,
> Abhay
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
--
James Cameron
http://quozl.netrek.org/
More information about the Sugar-devel
mailing list