Size: 3673
Comment: replace some info with a link to https://trac.sagemath.org/wiki/Distribution
|
← Revision 34 as of 2024-08-28 05:30:57 ⇥
Size: 62
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` The above instructions are being added to the Sage documentation in https://trac.sagemath.org/ticket/33655 = 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. These instructions have been updated for [[https://trac.sagemath.org/ticket/30845|#30845]] and are being added to the Sage installation guide in [[https://trac.sagemath.org/ticket/33426|#33426]] {{{ # If you skip it, replace "mamba" by # "conda" in the following steps. # src/environment-optional.yml # for some additional packages --has-file spkg-configure.m4 \ --has-file distros/conda.txt); do \ echo --with-system- SageMath version 9.6.beta5, Release Date: 2022-03-12 }}} By using `pip install --editable`, the Sage library is installed in editable mode. This means that when you only edit Python files, there is no need to rebuild the library; it suffices to restart Sage. After editing any Cython files, rebuild by repeating the command {{{ $ pip install --no-build-isolation -v -v --editable src }}} = More information = see https://trac.sagemath.org/wiki/Distribution#CondaAnacondaMinicondaCondaForge |
See https://doc.sagemath.org/html/en/installation/conda.html |