Skip to content

SageMath-9.4

Compare
Choose a tag to compare
@culler culler released this 30 Sep 22:17
· 163 commits to main since this release

This signed and notarized macOS app runs Sage 9.4, either in a terminal window or a Jupyter notebook. It should install without issues on Apple computers running macOS Sierra (10.12) or newer. The compiled code in the app is compatible with all of the CPUs that are supported by those OS releases. It is also reported to work with Apple's Intel emulator on M1-based Apple systems.

The app behaves similarly to Apple's Launchpad; it launches an instance of Sage and then exits. You can drag the icon to the dock and use it to launch Sage at any time. It includes a working tkinter module, which is used to provide the GUI for launching Sage. The magic command %pip can be used at the sage prompt to install additional packages via pip. These packages will be installed in the user's ~/.sage directory.

To install, download SageMath-9.4.dmg in the assets below, open it, and drag the SageMath-9-4 icon to the Applications folder as indicated. Then double-click the included Recommended_9_4.pkg file to install some helpful extras.

The Recommended_9_4.pkg creates an executable named /usr/local/bin/sage which can be used to run sage from a script or shell and a Jupyter kernel specification in /usr/local/share which will be recognized by other apps that launch Jupyter or JupyterLab. It also copies the sagetex.sty file into a subdirectory of /usr/local/texlive where it will be found by the TeX Live latex compiler.

Note that the -i option is not supported by the sage executable in this app. Users who need to install optional packages with sage -i should instead download the prerelease of v1.2.2 or build sage from source.

Version v1.2.1 adds additional features to the Recommended_9_4.pkg and fixes bugs caused by an out-of-date sage_conf.py file that was accidentally included in v1.2. It also fixes some issues with file dialogs on Monterey. Please report any crash, failure, or other problem as a GitHub issue.

The disk image SageMath-9.4.dmg in the assets below is 816 MB and expands to 2.8 GB when installed. Its MD5 hash is c8e63ebc8069bb0b0bab31d72a90468a.