Skip to content

SageMath 10.3 - v2.3.0

Compare
Choose a tag to compare
@culler culler released this 29 Feb 03:28
· 40 commits to main since this release

This is a binary release of SageMath-10.3 for macOS 10.12 and newer. It is packaged as a signed and notarized macOS application. There are two disk images in the assets, one for Intel CPUs and one for Apple's Arm CPUs (e.g. M1, M1X or M2) . Please download the correct one for your system. (If you are not sure, check the "processor" line in the "About This Mac" dialog under the Apple menu.)

This version behaves differently from previous ones. It still opens a small window which allows starting a SageMath session either in a command line or a jupyter or jupyterlab notebook. The difference is that the app continues to run until explicitly stopped by selecting Quit from the file menu or typing Command-Q, as with most macOS apps. The app will start a jupyter server process to run notebooks and reconnect to that server for new sessions. When the app quits it will terminate the jupyter server process if it is still running.

To install, download one of the disk images in the assets below, open it, and drag the SageMath icon to the Applications folder as indicated. Then double-click the recommended pkg file to install some helpful extras. Specifically, the Installer package 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. It also copies the sagetex.sty file into a subdirectory of /usr/local/texlive where it will be found by the TeXLive latex compiler. The kernel specification should be recognized by other apps that launch Jupyter or JupyterLab.

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. The -i option is not supported by the sage executable in this app, but many optional Sage packages are included. Note that GAP packages which are not included in the gap_packages spkg can be installed from within sage by using the PackageManager GAP package. These will be installed in the directory ~/Library/Preferences/GAP. For example, to install the kbmag GAP package run these two commands:

sage: libgap.LoadPackage("PackageManager")
sage: libgap.InstallPackage("kbmag")

The json files in the assets contain the md5 and sha256 hashes of the two disk images.