Ask Your Question
1

Sage GUI on Mac when building from source

asked 2019-10-17 05:42:39 -0600

Szabolcs gravatar image

I normally use the official (pre-compiled) app version of Sage on macOS. When I start the app, it adds a new dropdown menu to the menu bar.

Now I switched to building Sage from source, as this gives access to features I could not otherwise have (e.g. install Coin MIP solver with sage -i cbc). How can I run the same GUI interface that is available in the app version? I can run the command line sage program or I can use sage --notebook=jupyter. But is there a way to run the same GUI available in the app version?

edit retag flag offensive close merge delete

Comments

Hello, I suppose you are refering to the classic Sage Notebook. Unfortunately it is now deprecated, and the package is optional, you can check the issue track here.

You have to convert the old sagenb format to the new jupyter format. The instruction are in the issue I pointed to.

dsejas gravatar imagedsejas ( 2019-10-17 09:55:02 -0600 )edit

@dsejas No, I am referring to the Sage GUI available on macOS, not specific notebook formats.

Szabolcs gravatar imageSzabolcs ( 2019-10-18 03:31:07 -0600 )edit

Oh, sorry. I was not aware there was another GUI for Sage. Well, I learn something new about Sage every day!

dsejas gravatar imagedsejas ( 2019-10-18 11:26:51 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
3

answered 2019-10-17 19:08:26 -0600

This is not supported with Sage straight out of the box, but you can do it. Visit https://github.com/sagemath/binary-pkg for instructions. (Briefly, git clone https://github.com/sagemath/binary-pkg.git and then make package-sage PACKAGE="OSX mac app".)

edit flag offensive delete link more

Comments

1

It might be easier than this: once you've built Sage from source, do cd src/mac-app and run make. That might do what you want.

John Palmieri gravatar imageJohn Palmieri ( 2019-10-28 12:21:47 -0600 )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

1 follower

Stats

Asked: 2019-10-17 05:42:39 -0600

Seen: 63 times

Last updated: Oct 17