Differences between revisions 15 and 29 (spanning 14 versions)
Revision 15 as of 2016-08-17 01:06:36
Size: 4704
Editor: slelievre
Comment: Add days77, Guix/Nix, ArchLinux repo, and more links
Revision 29 as of 2018-07-26 15:36:33
Size: 8978
Editor: timokau
Comment: Update nix section
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
Related pages: SupportedPlatforms, [[days77/packaging]] Related pages: SupportedPlatforms, [[days77/packaging]], [[Infrastructure]]
Line 21: Line 21:
== Docker == == Docker images ==

=== Official SageMath Docker images ===
Line 24: Line 26:

=== Computational topology Sage Docker image ===
  * ships: !SageMath, !SnapPy, Regina, PHCPack, pandas, pe, gridlink, flipper, curver, heegaard, pygraphviz
  * url: https://hub.docker.com/r/computop/sage/
  * bitbucket repo: https://bitbucket.org/t3m/sagedocker
  * dockerfile: https://bitbucket.org/t3m/sagedocker/src/tip/sage/Dockerfile
  * people: Nathan Dunfield

=== CoCalc Docker images ===

Official !CoCalc Docker image:

  * ships !CoCalc, including !SageMath
  * url: https://hub.docker.com/r/sagemathinc/cocalc/
  * !GitHub repo: https://github.com/sagemathinc/cocalc-docker
  * people: wstein

Other !CoCalc Docker images might ship !SageMath too:

  * https://hub.docker.com/search/?q=cocalc
Line 45: Line 67:
= Linux distros =
  * mailing-list: [[https://groups.google.com/forum/#!forum/sage-packaging|sage-packaging]]
= Package managers =

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.

  * general SageMath packaging mailing list:
    [[https://groups.google.com/forum/#!forum/sage-packaging|sage-packaging]]
Line 52: Line 80:
  * to install: ```sudo pacman -S sagemath```
Line 53: Line 82:

== Conda / Anaconda / Miniconda / Conda Forge ==
  * wiki page: [[Conda]]
  * people: isuruf, saraedum
Line 56: Line 89:
  * (Sage-side) mailing list (dormant): [[https://groups.google.com/forum/#!forum/debian-sage|debian-sage]]
  * (Debian-side) mailing list (created 2016-08-10): https://lists.alioth.debian.org/mailman/listinfo/debian-science-sagemath
  * Debian-science mailing list (used before debian-science-sagemath was created): https://lists.debian.org/debian-science/
  * Some steps: https://www.logilab.org/blogentry/5540528
  * people: Julien Puydt (Snark), Julien Cristau,
  * packages: https://packages.debian.org/sagemath
  * package tracker: https://tracker.debian.org/teams/debian-sagemath/
  * build logs: https://buildd.debian.org/status/package.php?p=sagemath including ptestlong results
  * repo: https://anonscm.debian.org/cgit/debian-science/packages/sagemath.git
    * patches: https://anonscm.debian.org/cgit/debian-science/packages/sagemath.git/tree/debian/patches/
  * mailing list: https://lists.alioth.debian.org/mailman/listinfo/debian-science-sagemath
    * earlier discussions happened on the [[https://lists.debian.org/debian-science/|debian-science mailing list]]
    * Sage-side mailing list (dormant): [[https://groups.google.com/forum/#!forum/debian-sage|debian-sage]]
  * status pages: [[http://people.debian.org/~thansen/debian-sage-status.html|master branch]] [[http://people.debian.org/~thansen/debian-sage-dev-status.html|develop branch]] [[http://people.debian.org/~thansen/debian-sage-7.4-status.html|7.4]]
  * bug tracker: [[https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=sagemath|Debian bugs: package sagemath]]
  * people: Tobias Hansen, Julien Puydt, Jerome Benoit, Ximin Luo
Line 74: Line 113:
== Guix/Nix ==
  * some info: [[days77/packaging]]
== Homebrew ==

!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 [[https://groups.google.com/d/msg/sage-devel/jdLfIKQ1M18/PVQqJUUqAgAJ|this post on sage-devel]].

== Nix ==
  * Sage package: https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/science/math/sage
  * Distribution agnostic, functinal, declarative package managing
  * Should always have 0 doctest failures. To archive that, [[https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/science/math/sage/default.nix|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.
  * Should work on most linux distributions. More precisely any Linux distro where the nix package manager is available, e.g. [[https://aur.archlinux.org/packages/nix|ArchLinux]], Debian, [[https://nixos.org/nix/|others]] -- definitely works on NixOS
  * Is 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 appreaciated.
  * Could even work with the linxu subsystem for windows, 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`
  * 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 a issue||https://github.com/NixOS/nixpkgs/issues/new]] pinging @timokau and I'll help you get started.
Line 79: Line 139:
== Ubuntu (PPA) ==
  * purpose: easy-to-install Ubuntu .deb packages
  * hosted at: launchpad.net
  * admin: pipedream
  * contact: https://launchpad.net/~aims/+archive/ubuntu/sagemath
== Ubuntu ==
  * packages: http://packages.ubuntu.com/sagemath derived from the [[#Debian|Debian]] packages
  * earlier PPA: https://launchpad.net/~aims/+archive/ubuntu/sagemath
    * admin: pipedream

== Other ==
Please edit this wiki or email slelievre if you know about other package managers
providing !SageMath... See
[[https://en.wikipedia.org/wiki/List_of_software_package_management_systems|wikipedia's list of package managers]].
Line 88: Line 152:
  * in alpha stage
  * requires HAV activation
in the BIOS
  * hosted at: https://github.com/embray/sage-windows/releases
  * see SageWindows
  * hosted at: https://github.com/sagemath/sage-windows/releases
  * based on the Cygwin port of Sage
Line 96: Line 160:
== 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.
Line 100: Line 167:
Line 105: Line 171:
  * previous effort: [[https://svnweb.freebsd.org/ports/head/math/sage/|Sage on FreeBSD]]
Line 116: Line 183:
On tablets and mobile phones, Juno provides a good interface to !CoCalc.

Distribution and packaging of SageMath

Here are some links and information about distributing Sage.

Related pages: SupportedPlatforms, days77/packaging, Infrastructure

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.

Containers

Docker images

Official SageMath Docker images

Computational topology Sage Docker image

CoCalc Docker images

Official CoCalc Docker image:

Other CoCalc Docker images might ship SageMath too:

Virtualbox

Live USB

Sage Debian Live

AIMS Desktop

Clef agreg

Package managers

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.

Arch-linux

Conda / Anaconda / Miniconda / Conda Forge

  • wiki page: Conda

  • people: isuruf, saraedum

Debian

Fedora package

Gentoo: Sage-on-Gentoo

Homebrew

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

  • Sage package: https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/science/math/sage

  • Distribution agnostic, functinal, declarative package managing
  • Should always have 0 doctest failures. To archive 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.

  • Should work on most linux distributions. More precisely any Linux distro where the nix package manager is available, e.g. ArchLinux, Debian, others -- definitely works on NixOS

  • Is 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 appreaciated.
  • Could even work with the linxu subsystem for windows, 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

  • 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 a issue pinging @timokau and I'll help you get started.

RPM package (Fedora, Mandriva)

Ubuntu

Other

Please edit this wiki or email slelievre if you know about other package managers providing SageMath... See wikipedia's list of package managers.

Windows

SageMath installer for Windows

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.

Discussion

Porting to exotic architectures

BSD

Solaris

AIX, 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.

See Interfaces to Sage in other software.

Discussions

Distribution (last edited 2023-02-23 20:08:05 by mkoeppe)