Ask Your Question
2

Installation on Mac

asked 2011-02-16 18:00:03 +0100

abc123 gravatar image

updated 2011-02-16 22:28:00 +0100

DSM gravatar image

Hello all,

Please may someone tell me the difference between the ... Darwin-app.dmg and the ....Darwin.dmg binaries. What does the "app" stand for and which of the two should I install?

Thanks a lot, Stefan

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
3

answered 2011-02-16 18:25:07 +0100

The "app" version is a simplified way of using Sage. To use it you just click on the application, just like most others on a Mac, and it will start a Sage instance in the background, open a browser window, and launch the Sage Notebook.

The "non-app" version is a directory containing the Sage binaries and necessary libraries. The main binary opens an instance of Terminal and runs Sage in the terminal. It's less user-friendly but it allows you to examine all of the components of Sage and (possibly) develop for Sage as well. (I say "possibly" because I've only developed for Sage via a source installation.)

Now, the "app" version also contains the usual Sage directories, binaries, etc. but they're just slightly harder to find. So basically, the "app" version is the same thing as the "non-app" version except it's more user-friendly.

edit flag offensive delete link more
2

answered 2011-02-22 05:54:46 +0100

Ivan Andrus gravatar image

I'm biased because I wrote the app, but somewhat in response to @niles answer, I would say try it unless you only ever use the commandline version. I'm a guy who spends most of his time in either Emacs or a iterm2, but I really like the app.

You can still run sage from the command line (it will be easier after trac #10556 is merged) and it comes with a nice "menu extra" (like spotlight menu at far right) that I find quite useful. You can use it with any sage tree, so e.g. you can move the sage tree from the app to somewhere else or just use it with a 'non-app' version that you have hanging around.

In short, it's my goal to make sure than everything is as easy with the app version as with the non-app version. Suggestions or complaints are always welcome.

edit flag offensive delete link more

Comments

Well, I followed your advice, and indeed I do really like it :) I like that I can point the app to a separate sage install which has the patches I've been working on, and I like that I can use it to start command line sessions for sage, or some of its other components (gap, maxima, R, ipython . . .) So thanks :)

niles gravatar imageniles ( 2011-02-22 08:25:09 +0100 )edit

Excellent work!

cswiercz gravatar imagecswiercz ( 2011-02-22 11:13:36 +0100 )edit
1

answered 2011-02-17 07:05:14 +0100

niles gravatar image

updated 2011-02-22 08:34:49 +0100

UPDATE: I had tried the app version before, but trying it again recently is starting to change my mind -- it is pretty useful, and gives menu access to all kinds of different functionality (including Sage in the Terminal). My original answer is below.


To add to @cswiercz's answer, I would say that the "app" version is friendly to certain kinds of users. Running sage from the Terminal becomes useful when you're working on a large body of code, and you want to test using the code as you write. It's slightly more responsive than the notebook for things like docstrings and tab-completion, and I find the up-arrow command history very useful. The Terminal version is also nice when you're going to be printing out a lot of data which you want to skim, but not necessarily store.

I would say that if you're comfortable with command-line interfaces, try the "non-app" version. You can still run the notebook (just type notebook() to open it), but when you want to switch to the command line, it will be there waiting for you :)

Also, I've been doing development lately from a binary install without any problems.

edit flag offensive delete link more

Comments

Thanks for the tip about development with the Sage binary. I'll let my source-compilation-averse friends know. :)

cswiercz gravatar imagecswiercz ( 2011-02-17 12:49:07 +0100 )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

Stats

Asked: 2011-02-16 18:00:03 +0100

Seen: 1,582 times

Last updated: Feb 22 '11