Installing Sage on Linux with conda - lmmx/devnotes GitHub Wiki

  • The version on conda-forge seems current with SageMath
  • I don't think it's advisable to install into your main environment at this time (instead put it in its own environment)
  • Install Python first to ensure you get the most recent version
    • You can check the package files for this Python version in the name, e.g. linux-64/sage-9.2-py39hf3d152e_1.tar.bz2 indicates Sage 9.2 packaged for Python 3.9 on Linux
conda create -n sage
conda activate sage
conda install python
conda install sage -c conda-forge
  • After running conda activate sage you'll get sage on the command line!