Distribution and packaging of SageMath
Here are some links and information about distributing Sage.
- Distribution and packaging of SageMath
- Source and pre-compiled binaries
- Live USB
- Package managers
- Porting to exotic architectures
- Using SageMath through other software
Source and pre-compiled binaries
The release manager releases the source for each development release and each public release. Binaries for a number of operating systems are prepared by the release manager, and sometimes by more people.
source (public): http://www.sagemath.org/download-source.html
source (devel): http://www.sagemath.org/download-latest.html
Official SageMath Docker images
- admin: vbraun, sebasguts, nthiery, embray
Computational topology Sage Docker image
ships: SageMath, SnapPy, Regina, PHCPack, pandas, pe, gridlink, flipper, curver, heegaard, pygraphviz
bitbucket repo: https://bitbucket.org/t3m/sagedocker
- people: Nathan Dunfield
CoCalc Docker images
Official CoCalc Docker image:
ships CoCalc, including SageMath
GitHub repo: https://github.com/sagemathinc/cocalc-docker
- people: wstein
Other CoCalc Docker images might ship SageMath too:
- people: vbraun
Sage Debian Live
- admin: tmonteil
hosted at: http://sagedebianlive.metelu.net/
mailing list: https://sagedebianlive.metelu.net/mailman/listinfo/devel
- admin: pipedream
- what: bootable "Linux + math software" environment for French "agrégation" exams
- admin: François Boisson
This section is about SageMath packages in package managers, which can be related to particular Linux distributions, or macOS-specific (like Homebrew), or distribution-agnostic, or even OS-agnostic.
to install: sudo pacman -S sagemath
- maintainer: Antonio Rojas
Conda / Anaconda / Miniconda / Conda Forge
wiki page: Conda
- people: isuruf, saraedum
wiki page: https://wiki.debian.org/DebianScience/Sage
package tracker: https://tracker.debian.org/teams/debian-sagemath/
build logs: https://buildd.debian.org/status/package.php?p=sagemath including ptestlong results
bug tracker: Debian bugs: package sagemath
- people: Tobias Hansen, Julien Puydt, Jerome Benoit, Ximin Luo
- maintainer: Paulo Cesar Pereira de Andrade (pcpa)
Known test failures: https://github.com/cschwan/sage-on-gentoo/wiki/Known-test-failures
- admin: fbissey, cschwan
SageMath can now be installed on macOS via Homebrew by running
brew cask install sage
This fetches the dmg for the app, and installs the app from that dmg. See this post on sage-devel.
Nix package manager: https://nixos.org/nix/
- Distribution-agnostic, functional, declarative package managing.
Should always have 0 doctest failures. To achieve that, some dependency versions are pinned. That is not an issue because Nix allows multiple versions of a package to be installed at the same time. However the goal is to minimize the amount of pinned dependencies.
- Tested on x86 Linux. Probably works on ARM but that is as of yet untested.
Could run on Darwin, but currently doesn't since some dependencies don't have Darwin-specific patches. If you're a Darwin user, help with that would be very much appreciated. This is work in progress.
- Might even work with the "Windows Subsystem for Linux", but probably needs some patches. Absolutely untested.
- Allows user-installs, given that the nix package manager is already installed.
To install: nix-env -iA nixpkgs.sage or on NixOS just add sage to your environment.systemPackages
Betas are usually packaged in a PR until the release is final.
Currently (2018-07-26) maintained by timokau. Any help is appreciated. If you are interested (even if you don't know anything about nix yet), open an issue pinging @timokau and I'll help you get started.
RPM package (Fedora, Mandriva)
earlier PPA: https://launchpad.net/~aims/+archive/ubuntu/sagemath
Please edit this wiki or email slelievre if you know about other package managers providing SageMath... See wikipedia's list of package managers.
SageMath installer for Windows
- based on the Cygwin port of Sage
Porting to Cygwin
Windows subsystem for Linux
Under Windows 10, one can run the "Windows Subsystem for Linux" to "run Linux under Windows", and install SageMath binaries for Linux.
mailing list (dormant): sage-windows
Porting to exotic architectures
pending tickets: component: "porting: Solaris"
pending tickets: component: "porting: AIX or HP-UX"
Using SageMath through other software
Other software, such as Cantor and TeXmacs, have interfaces to SageMath.
On tablets and mobile phones, Juno provides a good interface to CoCalc.
Sage Days 77: https://wiki.sagemath.org/days77