Information
After installing SageMath in Windows Subsystem Linux (WSL2)
Ens
2023. 1. 21. 20:15
Install SageMath in WSL (via mamba)
$ curl -L -O https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh
$ sh Mambaforge-$(uname)-$(uname -m).sh
$ conda install mamba
$ mamba create -n sage sage
in WSL
$ mkdir ~/jupyter
$ conda activate sage
(sage)$ sage -n jupyter --generate-config
in the file '~/.sage/jupyter-4.1/jupyter_notebook_config.py'
c.NotebookApp.use_redirect_file = False
in the file '~/.bashrc'
export BROWSER='/mnt/c/Program Files/Google/Chrome/Application/chrome.exe'
alias sage_notebooK='cd ~/jupyter; conda run -n sage sage --notebook=jupyter'
in WSL
$ sage_notebook