Ask Your Question
1

Sage GUI on Mac when building from source

asked 2019-10-17 12:42:39 +0200

Szabolcs gravatar image

updated 2020-01-12 13:19:37 +0200

FrédéricC 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 16:55:02 +0200 )edit

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

Szabolcs gravatar imageSzabolcs ( 2019-10-18 10:31:07 +0200 )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 18:26:51 +0200 )edit

1 Answer

Sort by » oldest newest most voted
3

answered 2019-10-18 02:08:26 +0200

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 18:21:47 +0200 )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 12:42:39 +0200

Seen: 528 times

Last updated: Oct 18 '19