Ask Your Question
1

VM Virtualbox & sage-7.0.ova: how to start?

asked 2016-01-27 02:07:12 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

Hi,

I downloaded sage-7.0.ova and I imported it in VM Virtualbox. What are the next steps?

Using http://localhost:8000/home/admin within my browser doesn't work, as it did up to sage-6.10.ova.
The information on https://wiki.sagemath.org/SageAppliance isn't helpful.
Also https://groups.google.com/forum/#!top... didn't give much information.

Are these the steps for Sage-7.0 for Windows / VM Virtualbox?
1) load sage-7.0.ova as normal in VM Virtualbox
2) Go to http://localhost:8000/tree within your browser
3) On the top right select New and than SageMath 7.0
4) You see at the top Jupyter Notebook Untitled
5) You have to select Run instead of pressing Enter to perform a command

If so, how to upload my *.sws files?

Thanks for answering.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
1

answered 2016-01-27 09:55:51 -0500

updated 2016-01-27 13:32:31 -0500

Dear Roland, you are right, the instructions are not up to date.

While we go to great lengths to ensure every piece of the code is properly documented, we sometimes lag behind when it comes to usage instructions for the system as a whole.

I changed the wiki so that https://wiki.sagemath.org/SageAppliance now points to instructions pages for different versions of SageMath. The page you referred to above is now https://wiki.sagemath.org/SageApplian... and I added one for Sage 7.0 and later.

I will now comment on the 5-step instructions you suggest.

Are these the steps for Sage-7.0 for Windows / VM Virtualbox?

  1. load sage-7.0.ova as normal in VM Virtualbox
  2. Go to http://localhost:8000/tree within your browser
  3. On the top right select New and than SageMath 7.0
  4. You see at the top Jupyter Notebook Untitled
  5. You have to select Run instead of pressing Enter to perform a command

Yes, these are valid steps. In step 5, to evaluate a cell, you can either select Run or press shift-Enter.

This should help to update the instructions page.

For new users, that is all. For users who have existing SageNotebook worksheets (.sws files) and want to use them with Sage 7.0, there is more to say.

There are basically two approaches, either

  1. run the legacy Sage Notebook, still present in Sage 7.0, and uplad your .sws worksheets to it,
  2. or convert your worksheets to Jupyter notebook worksheets.

We need to document how to run the legacy Sage Notebook. Possibly, lauching the command "notebook()" in a Jupyter notebook worksheet might launch the Sage Notebook and you could go from there. I haven't tried.

Converting the worksheets from .sws to .ipynb also needs to be documented. There is a sws2sagews script at SageMathCloud which goes from .sws to .sagews SageMathCloud worksheets, and a sagews2ipynb script to go from .sagews to .ipynb.

So to convert your worksheets to .ipynb, you could upload them to SageMathCloud, and run sws2sagews followed by sagews2ipynb on them, then download them and use them with your Sage virtual machine.

edit flag offensive delete link more
0

answered 2016-01-30 22:18:24 -0500

ortollj gravatar image

Hello Sage 7.0 seems too much complicated to use , it's been over an hour since I've been trying to use it without succes. my keyboard gives wrong letter q <-> a. when I go in the tutorial, it is impossible to get out (I need to restart the VM !) help !!!!

edit flag offensive delete link more

Comments

cd /home/sage/ , then nano .xinitrc ,then write setxkbmap fr , just before the last line is ok for changing keyboard (read in https://wiki.sagemath.org/SageAppliance/SageMath-7 (SageAppliance/SageMath-7))

ortollj gravatar imageortollj ( 2016-01-31 06:09:03 -0500 )edit
0

answered 2016-01-30 15:32:15 -0500

Volker Braun gravatar image

To switch between jupyter and the old SageNB you currently have to edit .xinitrc:

  • In the tree view, go to new -> terminal
  • type "nano .xinitrc"
  • edit according to the comments at the bottom
edit flag offensive delete link more

Comments

/home/sage/.xinitrc but not /home/sage/sage/.xinitrc which is empty !

ortollj gravatar imageortollj ( 2016-01-31 05:42:18 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2016-01-27 02:07:12 -0500

Seen: 3,934 times

Last updated: Jan 30 '16