install sagemath kernel jupyter code example
Example: jupyter sagemath kernel
mkdir -p /usr/local/share/jupyter/kernels
ln -nsf /opt/SageMath/local/share/jupyter/kernels/sagemath /usr/local/share/jupyter/kernels/sagemath
mkdir -p /usr/local/share/jupyter/kernels
ln -nsf /opt/SageMath/local/share/jupyter/kernels/sagemath /usr/local/share/jupyter/kernels/sagemath