Processing Math: Done
No jsMath TeX fonts found -- using unicode fonts instead.
This may be slow and might not print well.
Use the jsMath control panel to get additional information.
jsMath Control PanelHide this Message


jsMath
Differences between revisions 27 and 34 (spanning 7 versions)
Revision 27 as of 2022-02-12 18:17:29
Size: 2439
Editor: mkoeppe
Comment: Remove memory_allocator from pip install, no longer needed
Revision 34 as of 2024-08-28 05:30:57
Size: 62
Editor: mkoeppe
Comment: Replace by link to Sage installation guide
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
{{https://conda.io/docs/_images/conda_logo.svg||width=400px}}

[[https://conda.io/docs/|Conda]] packages for Linux & macOS are available through [[https://conda-forge.github.io/|conda-forge]].

= Setting Up =

In short: Install `sage` from [[https://conda-forge.org|conda-forge]].

 * Download and install [[https://github.com/conda-forge/miniforge/#mambaforge|Mambaforge]].
   i.e., open a Terminal,
     `curl -L -O https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh`

     `sh Mambaforge-$(uname)-$(uname -m).sh`
 * Create a "sage" environment and pick a version of SageMath, i.e., open a new terminal and `mamba create -n sage sage=9.3`
 * To run SageMath, activate the environment you just created and run SageMath, i.e., `source activate sage` and `sage`

= Maintenance =

The packages necessary to run sage are developed on the github pages of conda-forge. The actual [[https://github.com/conda-forge/sage-feedstock/tree/master/recipe|sage package]] and many of its dependencies are maintained by Isuru Fernando (and a few volunteers).

= Conda for Sage Developers =

You can develop Sage without building any of its dependencies (experimental) --- on my machine this takes 5 minutes. Assume you obtained Sage source tree and changed to its root.

{{{
export SAGE_NUM_THREADS=24 # or whatever the meaningful value for you is - no more than the number of cores. conda install mamba
mambacreatensagebuildpython=3.9gettextautoconfautomakelibtoolpkgconfig conda activate sage-build
./bootstrap # this generates src/environment.yml mamba env update -n sage-build -f src/environment.yml
condaactivatesagebuild ./configure --with-python=CONDAPREFIX/bin/pythonwithsystemgcc=forceenabledownloadfromupstreamurl pip install --no-build-isolation -v -v pkgs/sage-conf pkgs/sage-setup
pipinstallnobuildisolationvvrsrc/requirements.txtesrc sage -c 'print(version())'
SageMath version 9.5, Release Date: 2022-01-30
}}}

= Open Issues =

== General ==

To check whether there are known issues with Conda:

 * https://trac.sagemath.org/query?order=id&desc=1&summary=~conda

== Windows ==

There is likely not going to be a working package in the near future, see https://groups.google.com/d/msg/sage-devel/wyaV8x5qolI/jVS4DKBvCAAJ.
See https://doc.sagemath.org/html/en/installation/conda.html

See https://doc.sagemath.org/html/en/installation/conda.html

Conda (last edited 2024-08-28 05:30:57 by mkoeppe)